(Sutherland-Hodgeman Polygon Clipping)
Show the effects of the Sutherland-Hodgeman clipping algorithm as applied to the polygon ABCDEFGH relative to the window below. Clip in the order LEFT, TOP, RIGHT, BOTTOM and give the list of vertices after each side is processed. Label the new vertices on the picture and show the final, filled polygon by coloring the appropriate regions and stray edges.
|