We can correctly clip a polygon by processing the polygon boundary

we-can-correctly-clip-a-polygon-by-processing-the-polygon-boundary

We can correctly clip a polygon by processing the polygon boundary as a whole against each ___________

A. side wall

B. top edge

C. window edge

D. bottom edge

I had been asked this question in an interview.

This intriguing question comes from Sutherland-Hodgeman Polygon Clipping topic in division 2D Transformation and Viewing of Computer Graphics

Right option is C. window edge

The explanation is: We can correctly clip a polygon by processing the polygon boundary as a whole against each window edge which can be accomplished by processing all polygon vertices against each rectangle.