Unit 3
Unit 3
Unit 3
(56.67, 70)
(56.67, 70)
(56.67, 70)
Q. Use the Cohen-Sutherland algorithm to clip the line P1(70, 20) and P2(100, 10) against a window lower
left hand corner (50, 10) and upper right hand corner (80, 40).
.
*
Q. Apply Liang Barsky Line Clipping algorithm to the line with coordinates (30, 60) and
(60, 25) against the window (𝒙𝒘𝒎𝒊𝒏, 𝒚𝒘𝒎𝒊𝒏) = (𝟏𝟎, 𝟏𝟎 ) and (𝒙𝒘𝒎𝒂𝒙, 𝒚𝒘𝒎𝒂𝒙) = ( 𝟓𝟎, 𝟓𝟎) .
Q. Clip polygon against clipping window PQRS. The coordinates of polygon are A(80, 200), B(220, 120),
C(150, 100), D(100, 30), E(10, 120). Coordinates of clipping window P(200, 50), Q(50, 150), R(200, 150) &
S(50, 50).
+
Thank You