Content deleted Content added
Line 9:
- Candidate polygons need to be oriented clockwise.
- Candidate polygons should
- The algorithm can support holes (as counter-clockwise polygons wholly inside their parent polygon), but requires additional algorithms to decide which polygons are holes. Then, merging of polygons can be performed by a variant of the algorithm.
▲- The algorithm can support holes (as counter-clockwise polygons wholly inside their parent polygon), but requires additional algorithms to decide which polygons are holes. Then, merging of polygons can be performed by a variant of the algorithm.
== The Algorithm ==
Suppose, A is the clipping polygon/region/area, and, B is the candidate polygon/subject polygon/polygon to be clipped.
|