Abstract

The Minkowski sum of two sets A , B ∈ R 2 , denoted A ⊕ B , is defined as { a + b ∣ a ∈ A , b ∈ B } . We describe an efficient and robust implementation of the construction of the Minkowski sum of a polygon in R 2 with a disc, an operation known as offsetting the polygon. Our software package includes a procedure for computing the exact offset of a straight-edge polygon, based on the arrangement of conic arcs computed using exact algebraic number-types. We also present a conservative approximation algorithm for offset computation that uses only rational arithmetic and decreases the running times by an order of magnitude in some cases, while having a guarantee on the quality of the result. The package will be included in the next public release of the Computational Geometry Algorithms Library, Cgal Version 3.3. It also integrates well with other Cgal packages; in particular, it is possible to perform regularized Boolean set-operations on the polygons the offset procedures generate.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

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.