0
25kviews
Explain Liang-Barsky line clipping algorithm with example. OR Write a line clipping algorithm which uses parametric form of equation.
1 Answer
4
1.5kviews

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,

enter image description here

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

enter image description here

Liang-Barsky expresses these …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.