how to subtract circle from an arbitrary polygon
Posted
by George
on Stack Overflow
See other posts from Stack Overflow
or by George
Published on 2010-05-13T06:25:47Z
Indexed on
2010/05/13
18:44 UTC
Read the original article
Hit count: 329
Given an arbitary polygon with vertices stored in either clockwise/counterclockwise fashion (depicted as a black rectangle in the diagram), I need to be able to subtract an arbitrary number of circles (in red on the diagram) from that polygon. Removing a circle could possibly split the polygon into two seperate polygons (as depicted by the second line in the diagram).
I'm not sure where to start.
© Stack Overflow or respective owner