








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









2D This Algorithm is capable of clipping of a concave polygon.
Clockwise Processing
2D Algorithm:
2D
w1 w w4^ w V V V V V V Clip Polygon Subject Polygon
2D
w1 w w4^ w V V V V V V Clip Polygon Subject Polygon I I I I
2D
3. From V 2 vertex to Vertex V 3 in clockwise direction, Here V 2 is outside and V 3 is inside. so, record Intersection Point I 1 and continue to subject polygon to V 3 Vertex. w1 w w4^ w V V V V V V Clip Polygon Subject Polygon I I I I
2D
5. From V 4 vertex to Vertex V 5 in clockwise direction. Here both V 4 in inside point and V 5 is outside. so, continue to Clip Polygon clockwise to intersection point from I 2 to I 1. Also clip the polygon. w1 w w4^ w V V V V V V Clip Polygon Subject Polygon I I I I
2D
6. From V 5 vertex to Vertex V 6 in clockwise direction. Here both V 5 is outside and V 6 is inside. so, continue to subject polygon to V 6 Vertex. w1 w w4^ w V V V V V V Clip Polygon Subject Polygon I I I I
2D
8. Final Clipped part of subject polygon is w1 w w4 w V V V Clip Polygon I I I I