TY - JOUR
T1 - Intersection Searching amid Tetrahedra in Four Dimensions
AU - Ezra, Esther
AU - Sharir, Micha
N1 - Publisher Copyright:
© The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2024.
PY - 2024
Y1 - 2024
N2 - We develop data structures for intersection queries in four dimensions that involve segments, triangles and tetrahedra. Specifically, we study three main problems: (i) Preprocess a set of n tetrahedra in R4 into a data structure for answering segment-intersection queries amid the given tetrahedra (referred to as segment-tetrahedron intersection queries). (ii) Preprocess a set of n triangles in R4 into a data structure that supports triangle-intersection queries amid the input triangles (referred to as triangle-triangle intersection queries). (iii) Preprocess a set of n segments in R4 into a data structure that supports tetrahedron-intersection queries amid the input segments (referred to as tetrahedron-segment intersection queries). In each problem we want either to detect an intersection, or to count or report all intersections. As far as we can tell, these problems have not been previously studied. For problem (i), we first present a “standard” solution which, for any prespecified value n≤s≤n6 of a so-called storage parameter s, yields a data structure with O∗(s) storage and expected preprocessing, which answers an intersection query in O∗(n/s1/6) time (here and in what follows, the O∗(·) notation hides subpolynomial factors). For problems (ii) and (iii), using similar arguments, we present a solution that has the same asymptotic performance bounds. We then improve the solution for problem (i), and present a more intricate data structure that uses O∗(n2) storage and expected preprocessing, and answers a segment-tetrahedron intersection query in O∗(n1/2) time, improving the O∗(n2/3) query time obtained by the standard solution. Using the parametric search technique of Agarwal and Matoušek (SIAM J Comput 22:794–806, 1993), we can obtain data structures with similar performance bounds for the ray-shooting problem amid tetrahedra in R4. Unfortunately, so far we do not know how to obtain a similar improvement for problems (ii) and (iii). Our algorithms are based on a primal-dual technique for range searching with semi-algebraic sets, based on recent advances in this area (Agarwal et al. in SIAM J Comput 50:760–787, 2021. Also in Proceedings of Symposium on Computational Geometry (SoCG) 5:1–5:14, 2019. Also in arXiv:1812.10269; Matoušek and Patáková in Discrete Comput Geom 54:22–41, 2015). As this is a result of independent interest, we spell out the details of this technique. We present several applications of our techniques, including continuous collision detection amid moving tetrahedra in 3-space, an output-sensitive algorithm for constructing the arrangement of n tetrahedra in R4, and an output-sensitive algorithm for constructing the intersection or union of two or several nonconvex polyhedra in R4.
AB - We develop data structures for intersection queries in four dimensions that involve segments, triangles and tetrahedra. Specifically, we study three main problems: (i) Preprocess a set of n tetrahedra in R4 into a data structure for answering segment-intersection queries amid the given tetrahedra (referred to as segment-tetrahedron intersection queries). (ii) Preprocess a set of n triangles in R4 into a data structure that supports triangle-intersection queries amid the input triangles (referred to as triangle-triangle intersection queries). (iii) Preprocess a set of n segments in R4 into a data structure that supports tetrahedron-intersection queries amid the input segments (referred to as tetrahedron-segment intersection queries). In each problem we want either to detect an intersection, or to count or report all intersections. As far as we can tell, these problems have not been previously studied. For problem (i), we first present a “standard” solution which, for any prespecified value n≤s≤n6 of a so-called storage parameter s, yields a data structure with O∗(s) storage and expected preprocessing, which answers an intersection query in O∗(n/s1/6) time (here and in what follows, the O∗(·) notation hides subpolynomial factors). For problems (ii) and (iii), using similar arguments, we present a solution that has the same asymptotic performance bounds. We then improve the solution for problem (i), and present a more intricate data structure that uses O∗(n2) storage and expected preprocessing, and answers a segment-tetrahedron intersection query in O∗(n1/2) time, improving the O∗(n2/3) query time obtained by the standard solution. Using the parametric search technique of Agarwal and Matoušek (SIAM J Comput 22:794–806, 1993), we can obtain data structures with similar performance bounds for the ray-shooting problem amid tetrahedra in R4. Unfortunately, so far we do not know how to obtain a similar improvement for problems (ii) and (iii). Our algorithms are based on a primal-dual technique for range searching with semi-algebraic sets, based on recent advances in this area (Agarwal et al. in SIAM J Comput 50:760–787, 2021. Also in Proceedings of Symposium on Computational Geometry (SoCG) 5:1–5:14, 2019. Also in arXiv:1812.10269; Matoušek and Patáková in Discrete Comput Geom 54:22–41, 2015). As this is a result of independent interest, we spell out the details of this technique. We present several applications of our techniques, including continuous collision detection amid moving tetrahedra in 3-space, an output-sensitive algorithm for constructing the arrangement of n tetrahedra in R4, and an output-sensitive algorithm for constructing the intersection or union of two or several nonconvex polyhedra in R4.
KW - 52C45
KW - 68Q25
KW - 68U05
KW - Computational geometry
KW - Intersection queries in R
KW - Polynomial partitioning
KW - Range searching
KW - Ray shooting
KW - Semi-algebraic sets
KW - Tetrahedra in R
KW - Tradeoff
UR - http://www.scopus.com/inward/record.url?scp=85195204771&partnerID=8YFLogxK
U2 - 10.1007/s00454-024-00656-8
DO - 10.1007/s00454-024-00656-8
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:85195204771
SN - 0179-5376
JO - Discrete and Computational Geometry
JF - Discrete and Computational Geometry
ER -