Theoretical and practical results on straight skeletons of planar straight-line graphs

  • Authors:
  • Stefan Huber;Martin Held

  • Affiliations:
  • Universität Salzburg, Salzburg, Austria;Universität Salzburg, Salzburg, Austria

  • Venue:
  • Proceedings of the twenty-seventh annual symposium on Computational geometry
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

We study straight skeletons and make both theoretical and practical contributions which support new approaches to the computation of straight skeletons of arbitrary planar straight-line graphs (PSLGs). We start with an adequate extension of the concept of motorcycle graphs to PSLGs, with motorcycles starting at the reflex vertices of a PSLG, which allows us to generalize well-known results on the relation between the straight skeleton and the motorcycle graph to arbitrary PSLGs: the edges of the motorcycle graph cover a specific subset of the edges of the straight skeleton, and they form the basis of 3D slabs such that the projection of the lower envelope of those slabs to the plane forms the straight skeleton. As an immediate application we sketch how to use a graphics hardware for computing (approximate) straight skeletons of PSLGs. Further, we present and analyze a novel wavefront-type algorithm which bridges the current gap between the theory and practice of straight-skeleton computations. Our algorithm handles arbitrary PSLGs, is easy to implement, and is fast enough to handle complex data: it can be expected to run in O(n log n) time in practice for an n-vertex PSLG; its worst-case complexity is O(n2 log n). Extensive experimental results confirm an average runtime of 20 n log n µs on a standard PC for virtually all of our 13500 datasets of different characteristics. As also confirmed by our experiments, this constitutes an average gain in performance by a multiplicative factor of n, or at least one to two orders of magnitude, relative to the speed of the implementation provided by CGAL for closed polygons.