Abstract
A new algorithm for Boolean operation of two simple polygons based on minimum circle was presented. Polygon P and Q were initialized to counter-clockwise direction, and the edges connecting to each intersection point of P and Q were arranged in sequential order. Then, all minimum circles were found using the minimum turning angle rule. These minimum circles were classified according to edges direction in P and Q. Intersection, union, and difference of the two polygons are corresponding to different kinds of minimum circles. The algorithm run in time O((n+m+k)logd) in a worst presented case, where n and m were the vertex numbers of the two polygons respectively, k was the numbers of intersection points, and d was the number of polygon’s monotonic chain. The algorithm has explicit geometric significance, and well resolves the problems in special cases, such as overlapped edges, and operation edges intersection at the vertex of edges.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.