,
Yannick Bosch
,
Sabine Storandt
Creative Commons Attribution 4.0 International license
In this paper, we study the problem of efficiently reporting all intersections between a given set of line segments in the plane and a query circle, focusing on the case where the segments form the edges of a connected geometric graph. While previous data structures for circle-segment intersection queries on general segment sets incur high space or query time costs, we exploit the connectivity of the input to obtain significantly improved performance. In fact, we propose a new circle-segment intersection data structure that can be constructed in 𝒪((n + C) log³ n) time and space on connected graphs with n edges and C edge crossings. It answers intersection queries in 𝒪(k log³ n) time, where k denotes the output size. Our method relies on the construction of efficient circle-graph intersection oracles as well as a novel linear-time algorithm to partition the edges of the graph into balanced, connected components, which might be of independent interest. In a proof-of-concept experimental study on real-world road networks, we show that our novel data structure also performs well in practice. Even on networks with millions of edges, the construction time is within minutes and queries are answered in a few milliseconds.
@InProceedings{afshani_et_al:LIPIcs.ISAAC.2025.3,
author = {Afshani, Peyman and Bosch, Yannick and Storandt, Sabine},
title = {{Circle-Segment Intersection Queries in Connected Geometric Graphs}},
booktitle = {36th International Symposium on Algorithms and Computation (ISAAC 2025)},
pages = {3:1--3:16},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-408-6},
ISSN = {1868-8969},
year = {2025},
volume = {359},
editor = {Chen, Ho-Lin and Hon, Wing-Kai and Tsai, Meng-Tsung},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ISAAC.2025.3},
URN = {urn:nbn:de:0030-drops-249114},
doi = {10.4230/LIPIcs.ISAAC.2025.3},
annote = {Keywords: Intersection data structure, Graph partitioning, Dobkin-Kirkpatrick hierarchy}
}