[Course Code: CSE421 (Day), Course Title: Computer Graphics]- Find the Categories of the lines AB, CD, EF, GH using Cohen Sutherland line clipping algorithm and perform the clipping. code example

Example: Cohen Sutherland Line Clipping Algorithm: In the algorithm, first of all, it is detected whether line lies inside the screen or it is outside the screen. All lines come under any one of the following categories: Visible Not Visible Clipping Case

Cohen Sutherland Line Clipping Algorithm:
In the algorithm, first of all, it is detected whether line lies inside the screen or it is outside the screen. All lines come under any one of the following categories:

Visible
Not Visible
Clipping Case

Tags:

Misc Example