A Linear-Time Algorithm for Computing the Voronoi Diagram of a Convex Polygon

Alok Aggarwal, Leonidas J. Guibas, James B. Saxe, Peter W. ShorDiscret. Comput. Geom 1989

In 1989, Aggarwal, Guibas, Saxe, and Shor published a landmark paper in computational geometry, providing the first linear-time algorithm for a problem that had remained open for over a decade: computing the Voronoi diagram of the vertices of a convex polygon. This work settled a long-standing complexity gap, proving that the inherent structure of a convex polygon allows for significantly faster processing than the general $O(n \log n)$ case.

The Problem: Breaking the $O(n \log n)$ Barrier

A Voronoi diagram partitions a plane into regions based on proximity to a set of "sites" (points). In the general case, computing this for $n$ arbitrary points requires $\Theta(n \log n)$ time, a bound that is optimal because the algorithm can be used to sort numbers. However, researchers long suspected that if the sites are already structured—specifically, if they form the vertices of a convex polygon in order—the barrier could be broken. This paper confirms that the pre-existing order of a convex polygon allows for a much faster, linear-time construction.

The Lifting Map: From 2D to 3D

The authors utilize a classic "lifting map" to transform the 2D problem into a 3D one. By mapping each point $(x, y)$ to a point $(x, y, x^2 + y^2)$ on a 3D paraboloid, the 2D Voronoi diagram problem becomes equivalent to finding the 3D convex hull of these lifted points.

Lifting 2D points of a convex polygon onto a 3D paraboloid.

Because the original points form a convex polygon, their 3D counterparts are "well-behaved," preventing the complex interweaving that typically makes 3D convex hulls difficult to compute quickly. This geometric structure is the key to achieving linear complexity.

Methods: Crimson and Garnet Partitioning

The core of the contribution is a recursive algorithm for this specialized 3D convex hull. The process involves several sophisticated steps:

  1. Blue-Red Partitioning: The $n$ points are divided into a "blue" set ($B$) and a "red" set ($R$) based on labels derived from tetrahedron tests.
  2. Recursive Step: The hull of the blue points is computed recursively.
  3. Crimson and Garnet Sub-division: The red points are further split. "Crimson" points are those that see only a small, disjoint portion of the blue hull. "Garnet" points are the remainder.
  4. Linear Merging: Crimson points are added to the blue hull in total linear time because they do not interfere with each other. The garnet hull is then merged using a generalized version of Kirkpatrick’s Voronoi merging procedure.
A supporting plane perpendicular to the page, illustrating visibility tests for hull construction.

The algorithm relies heavily on tetrahedron tests—checking the sign of the volume formed by four points—to determine visibility and orientation without needing complex coordinate geometry. This allows the algorithm to maintain robustness and efficiency.

Key Insights and Results

The "aha moment" of the paper is the realization that in this specific 3D configuration, a significant fraction of points (the crimson points) are "locally independent." This sparsity allows them to be processed without one point's addition significantly complicating the next.

Primary Outcomes:

  • Linear Time Complexity: The primary result is an $O(n)$ algorithm for the Voronoi diagram of a convex polygon.
  • Medial Axis: The algorithm can compute the medial axis of a convex polygon in $O(n)$ time.
  • Furthest-Site Voronoi Diagrams: The techniques extend to computing furthest-site Voronoi diagrams in linear time.
  • Dynamic Updates: A site can be deleted from a general planar Voronoi diagram in $O(k)$ time, where $k$ is the number of neighbors of the deleted site, by treating those neighbors as a convex polygon.

Limitations and Future Work

While theoretically linear, the "crimson and garnet" logic involves sophisticated combinatorial lemmas that make a practical implementation significantly more complex than standard $O(n \log n)$ approaches. Furthermore, the authors noted that while the convex case was solved, the optimal time for constrained Delaunay triangulations of simple (non-convex) polygons remained an open question at the time of publication.

Summary updated

BibTeX
@article{aggarwal1989linear,
  author = {Alok Aggarwal and Leonidas J. Guibas and James B. Saxe and Peter W. Shor},
  title = {{A Linear-Time Algorithm for Computing the Voronoi Diagram of a Convex Polygon}},
  journal = {Discret. Comput. Geom.},
  year = {1989},
  doi = {10.1007/bf02187749},
}
Figure