0
25kviews
Explain Liang-Barsky line clipping algorithm with example. OR Write a line clipping algorithm which uses parametric form of equation.
1 Answer
| written 7.8 years ago by |
Liang-Barsky line clipping algorithm:-
Liang and Barsky have developed more efficient algorithm than Cyrus-Beck algorithm, using parametric equations and is also efficient than Cohen-Sutherland algorithm . The parametric equations are given as,

The point clipping conditions for Liang-Barsky approach in the parametric form can be given as

Liang-Barsky expresses these …