Which of the following algorithm is used to clip a line segment against a rectangular window?
19 views
- Sutherland Hodgeman algorithm
- Midpoint line algorithm
- Bresenham`s line algorithm
- Cohen Sutherland algorithm (Correct Answer)
Explanation
Answer: d) Cohen Sutherland algorithm
Explanation: Cohen Sutherland algorithm is used to clip a line segment against a rectangular window.