Content deleted Content added
→Pseudo Code: ComputeIntersection must return multiple intersections if there is any. Besides the algorithm above cannot identify the part of the poligon if it intersects the clipping plane twice. |
No edit summary |
||
Line 2:
==Description==
We then need to repeat this process for each clip polygon side by extending the line and creating new sets of vertices that are on the visible side. Once the process is complete, a set of vertices will define a new single polygon that is entirely visible. However, if the subject polygon was [[concave polygon|concave]] at vertices outside the clipping polygon, the new polygon may have coincident (i.e. overlapping) edges - this is acceptable for rendering, but not for other applications such as computing shadows.
|