Four Cases while clipping against one edge


Case 1 : Wholly inside the visible region, save the endpoint.

Points=[B]

Case 2 : Exit visible region, save the intersection.

Points=[B, B']

Case 3 : Wholly outside visible region, save nothing.

Points=[B, B']

Case 4 : Enter visible region, save intersection and endpoint.

Points=[B, B', C', A]
Go back to
Four Cases of polygon clipping.
Contact:
Haowei Hsieh
hhsieh@cc.gatech.edu
http://www.cc.gatech.edu/gvu/people/Masters/Haowei.Hsieh.html
Last Change : Feb 19,1995