Which line-clipping algorithm assigns a 4-bit region code to each endpoint?
A
Weiler–Atherton
B
Sutherland–Hodgman
C
Cohen–Sutherland
Correct answer
D
Liang–Barsky
Correct answer
C. Cohen–Sutherland
17 views
⚔️
Challenge a friend on Computer Graphics
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
Cohen–Sutherland codes each endpoint by its position relative to the clip window (above, below, left, right), so lines entirely inside or outside are accepted or rejected quickly. Sutherland–Hodgman clips polygons.
Reference
Asked in: NTS, GATE CS
Doubts & discussionNot sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ Using homogeneous coordinates, 2D transformations such as translation are represented by matrices of size: Next MCQ › Roughly how much memory does a frame buffer need for a 1920 × 1080 display with 24-bit colour?