Professional Documents
Culture Documents
Liang Barsky Line Clipping Algorithm
Liang Barsky Line Clipping Algorithm
Liang Barsky Line Clipping Algorithm
The parametric equation for Liang Barsky line clipping algorithm is given as,
Liang - Barsky algorithm calculates two values of parameter t : t1 and t2. The value of
t1 is determined by checking the rectangle edges for p < 0. The maximum value is
taken as a value for t1. The value of t2 is determined by checking the rectangle edges
for p > 0. The minimum value is taken as a value for t2.