Abstract
We present CGAL implementations of two algorithms for computing straight skeletons in the plane, based on exact arithmetic. One code, named SURFER2, can handle multiplicatively weighted planar straight-line graphs (PSLGs) while our second code, MONOS, is specifically targeted at monotone polygons. Both codes are available on GitHub. We discuss algorithmic as well as implementational and engineering details of both codes. Furthermore, we present the results of an extensive performance evaluation in which we compared SURFER2 and MONOS to the straight-skeleton package included in CGAL. It is not surprising that our special-purpose code MONOS outperforms CGAL's straight-skeleton implementation. But our tests provide ample evidence that also SURFER2 can be expected to be faster and to consume significantly less memory than the CGAL code. And, of course, SURFER2 is more versatile because it can handle multiplicative weights and general PSLGs as input. Thus, SURFER2 currently is the fastest and most general straight-skeleton code available.
Originalsprache | Englisch |
---|---|
Aufsatznummer | 101760 |
Seitenumfang | 15 |
Fachzeitschrift | Computational Geometry: Theory and Applications |
Jahrgang | 96 |
DOIs | |
Publikationsstatus | Veröffentlicht - 2021 |
Bibliographische Notiz
Funding Information:Work supported by Austrian Science Fund (FWF): Grants ORD 53-VO and P31013-N31 .
Publisher Copyright:
© 2021 The Author(s)
Systematik der Wissenschaftszweige 2012
- 102 Informatik