Professional Documents
Culture Documents
(Autonomous)
PERUNDURAI ERODE-638 060
DEPARTMENTOFCOMPUTER TECHNOLOGY-PG
10 marks:
1. Apply Liang Barsky line clipping for x(0,1) and y(0,1) when P1(-1,-2) and P2(2,4) K3
2. Use cohen Sutherland line clipping for x(100,300) and y(100,300) when end points K3
for line 1 are (50,150) and (400,200) and line 2 are (100,50) and (300,50)
3. Write a procedure to implement cohen Sutherland line clipping. Also illustrate the K2
specific step in clipping line against rectangular boundaries using the same
algorithm.
4. Illustrate the Liang Barsky line clipping algorithm. K2