English

Semialgebraic Range Stabbing, Ray Shooting, and Intersection Counting in the Plane

Computational Geometry 2024-03-20 v1

Abstract

Polynomial partitioning techniques have recently led to improved geometric data structures for a variety of fundamental problems related to semialgebraic range searching and intersection searching in 3D and higher dimensions (e.g., see [Agarwal, Aronov, Ezra, and Zahl, SoCG 2019; Ezra and Sharir, SoCG 2021; Agarwal, Aronov, Ezra, Katz, and Sharir, SoCG 2022]). They have also led to improved algorithms for offline versions of semialgebraic range searching in 2D, via lens-cutting [Sharir and Zahl (2017)]. In this paper, we show that these techniques can yield new data structures for a number of other 2D problems even for online queries: 1. Semialgebraic range stabbing. We present a data structure for nn semialgebraic ranges in 2D of constant description complexity with O(n3/2+ε)O(n^{3/2+\varepsilon}) preprocessing time and space, so that we can count the number of ranges containing a query point in O(n1/4+ε)O(n^{1/4+\varepsilon}) time, for an arbitrarily small constant ε>0\varepsilon>0. 2. Ray shooting amid algebraic arcs. We present a data structure for nn algebraic arcs in 2D of constant description complexity with O(n3/2+ε)O(n^{3/2+\varepsilon}) preprocessing time and space, so that we can find the first arc hit by a query (straight-line) ray in O(n1/4+ε)O(n^{1/4+\varepsilon}) time. 3. Intersection counting amid algebraic arcs. We present a data structure for nn algebraic arcs in 2D of constant description complexity with O(n3/2+ε)O(n^{3/2+\varepsilon}) preprocessing time and space, so that we can count the number of intersection points with a query algebraic arc of constant description complexity in O(n1/2+ε)O(n^{1/2+\varepsilon}) time. In particular, this implies an O(n3/2+ε)O(n^{3/2+\varepsilon})-time algorithm for counting intersections between two sets of nn algebraic arcs in 2D.

Keywords

Cite

@article{arxiv.2403.12303,
  title  = {Semialgebraic Range Stabbing, Ray Shooting, and Intersection Counting in the Plane},
  author = {Timothy M. Chan and Pingan Cheng and Da Wei Zheng},
  journal= {arXiv preprint arXiv:2403.12303},
  year   = {2024}
}

Comments

SOCG 2024

R2 v1 2026-06-28T15:25:04.285Z