Solid Polygon Clipping

Example 2

Note: for the case below the algorithm generates N = 6 with

X = 15 30 30 25 15 15
Y = 10 10 40 50 50 50

For this case with Xl = 18, Xr = 50, Yt = 42, Yb = 0

the result against the left edge is

X Y N = 6

12 10
30 10
30 40
20 50
12 42

and the final result is

X Y N = 6

12 10
30 10
30 40
24 46
16 46
12 42


Go back to previous screen
HyperGraph Table of Contents.
HyperGraph Home page.

Last changed May 13, 1998, G. Scott Owen, owen@siggraph.org