In this paper we present a simple new algorithm to offset multiple, non-overlapping polygons with arbitrary holes that makes use of winding numbers. Our algorithm constructs an intermediate “raw offset curve” as input to the tessellator routines in the OpenGL Utility library (GLU), which calculates the winding number for each connected region. By construction, the invalid loops of our raw offset curve bound areas with non-positive winding numbers and thus can be removed by using the positive winding rule implemented in the GLU tessellator. The proposed algorithm takes O((n + k)logn) time and O(n + k) space, where n is the number of vertices in the input polygon and k is the number of self-intersections in the raw offset curve. The implementation is extremely simple and reliably produces correct and logically consistent results.
Skip Nav Destination
ASME 2005 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference
September 24–28, 2005
Long Beach, California, USA
Conference Sponsors:
- Design Engineering Division and Computers and Information in Engineering Division
ISBN:
0-7918-4739-X
PROCEEDINGS PAPER
Polygon Offsetting by Computing Winding Numbers
Xiaorui Chen,
Xiaorui Chen
University of California at Berkeley, Berkeley, CA
Search for other works by this author on:
Sara McMains
Sara McMains
University of California at Berkeley, Berkeley, CA
Search for other works by this author on:
Xiaorui Chen
University of California at Berkeley, Berkeley, CA
Sara McMains
University of California at Berkeley, Berkeley, CA
Paper No:
DETC2005-85513, pp. 565-575; 11 pages
Published Online:
June 11, 2008
Citation
Chen, X, & McMains, S. "Polygon Offsetting by Computing Winding Numbers." Proceedings of the ASME 2005 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference. Volume 2: 31st Design Automation Conference, Parts A and B. Long Beach, California, USA. September 24–28, 2005. pp. 565-575. ASME. https://doi.org/10.1115/DETC2005-85513
Download citation file:
22
Views
Related Proceedings Papers
Related Articles
Stress Field in Finite Width Axisymmetric Wound Rolls
J. Appl. Mech (March,2002)
Actual Safety Distance and Winding Tension to Manufacture Full Section Parts by Robotized Filament Winding
J. Eng. Mater. Technol (July,2006)
A Hybrid Approach for Quantifying the Winding Process and Material Effects on Sheet Coil Deformation
J. Eng. Mater. Technol (July,2004)
Related Chapters
Completing the Picture
Air Engines: The History, Science, and Reality of the Perfect Engine