English

Finding Pairwise Intersections of Rectangles in a Query Rectangle

Computational Geometry 2018-01-24 v1

Abstract

We consider the following problem: Preprocess a set S\mathcal{S} of nn axis-parallel boxes in Rd\mathbb{R}^d so that given a query of an axis-parallel box in Rd\mathbb{R}^d, the pairs of boxes of S\mathcal{S} whose intersection intersects the query box can be reported efficiently. For the case that d=2d=2, we present a data structure of size O(nlogn)O(n\log n) supporting O(logn+k)O(\log n+k) query time, where kk is the size of the output. This improves the previously best known result by de Berg et al. which requires O(logn+klogn)O(\log n+ k\log n) query time using O(nlogn)O(n\log n) space. There has been no result known for this problem for higher dimensions, except that for d=3d=3, the best known data structure supports O(nlog2n+klog2n)O(\sqrt{n}\log^2n+k\log^2n) query time using O(nnlogn)O(n\sqrt {n}\log n) space. For a constant d>2d>2, we present a data structure supporting O(n1δlogd1n+k polylog n)O(n^{1-\delta}\log^{d-1} n + k \text{ polylog } n) query time for any constant 1/dδ<11/d\leq\delta<1. The size of the data structure is O(nδd2δ+1logn)O(n^{\delta d - 2\delta + 1}\log n).

Keywords

Cite

@article{arxiv.1801.07362,
  title  = {Finding Pairwise Intersections of Rectangles in a Query Rectangle},
  author = {Eunjin Oh and Hee-Kap Ahn},
  journal= {arXiv preprint arXiv:1801.07362},
  year   = {2018}
}

Comments

The preliminary version appeared in the Proceedings of 28th International Symposium on Algorithms and Computation (ISAAC 2017)

R2 v1 2026-06-22T23:52:37.466Z