In Search of Empty Spheres: 3D Apollonius Diagrams on GPU

Cyprien Plateau--Holleville1, Benjamin Stamm2, Vincent Nivoliers3, Maxime Maria1, Stéphane Mérillou1,
1XLIM, UMR CNRS 7252, Université de Limoges, France 2Universität Stuttgart, Institute of Applied Analysis and Numerical Simulation, Germany 3Université Claude Bernard Lyon 1, LIRIS, France

We propose a method to compute an Apollonius diagram on GPU. Left: The computation is performed from the geometry of its cells to allow high parallelism level. Our method handles both homogeneous and heterogeneous spatial distributions supporting a wide range of applications. Top right: Homogeneous distribution of 100000 sites with radii between 0.1 and 10.1 computed in 8.1s. Bottom right: Heterogeneous distribution of 211834 sites with radii between 1.5 and 2.2 computed in 1.5s (PDB Id: 6RXU). Performances are given for an NVIDIA RTX 4090.

Abstract

We present a novel comprehensive construction algorithm of Apollonius diagrams designed for GPUs. Efficient and robust algorithms have been proposed for the computation of Voronoi diagrams or Power diagrams. In contrast, Apollonius cells are neither convex nor bounded by straight boundaries, making their computation complex, especially in more than two dimensions. Their parallel computation also represents a challenge because of the sequential nature of state-of-the-art algorithms. In this article, we tackle the computation of these diagrams from the geometry of their cells. Our strategy is based on a core cell topology update allowing the iterative insertion of new sites found through nearest neighbor queries. To benefit from the highly parallel environment of modern GPUs and fit their memory restriction, we define a lightweight data structure allowing the representation of the complex topology of Apollonius cells. Additionally, we provide several space exploration procedures for their efficient construction under both homogeneous and heterogeneous spatial distributions. Our method outperforms the fastest state-of-the-art CPU implementation while computing the complete geometry. As a possible use case, we show an application for molecular illustration.

BibTeX

@article{PlateauHolleville2025,
    author  = {Plateau--Holleville, C. and Stamm, B. and Nivoliers, V. and Maria, M. and Mérillou, S.},
    journal = {ACM Transactions on Graphics},
    title   = {In Search of Empty Spheres: 3D Apollonius Diagrams on GPU},
    year    = {2025},
    volume  = {44},
    number  = {4},
    pages   = {1--15}
}