Intersection Searching Amid Tetrahedra in 4-Space and Efficient Continuous Collision Detection

Authors Esther Ezra , Micha Sharir



PDF
Thumbnail PDF

File

LIPIcs.ESA.2022.51.pdf
  • Filesize: 0.74 MB
  • 17 pages

Document Identifiers

Author Details

Esther Ezra
  • School of Computer Science, Bar Ilan University, Ramat Gan, Israel
Micha Sharir
  • School of Computer Science, Tel Aviv University, Tel Aviv, Israel

Cite AsGet BibTex

Esther Ezra and Micha Sharir. Intersection Searching Amid Tetrahedra in 4-Space and Efficient Continuous Collision Detection. In 30th Annual European Symposium on Algorithms (ESA 2022). Leibniz International Proceedings in Informatics (LIPIcs), Volume 244, pp. 51:1-51:17, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2022)
https://doi.org/10.4230/LIPIcs.ESA.2022.51

Abstract

We develop data structures for intersection detection queries in four dimensions that involve segments, triangles and tetrahedra. Specifically, we study two main problems: (i) Preprocess a set of n tetrahedra in {ℝ}⁴ into a data structure for answering segment-intersection queries amid the given tetrahedra (referred to as segment-tetrahedron intersection queries), and (ii) Preprocess a set of n triangles in {ℝ}⁴ into a data structure that supports triangle-intersection queries amid the input triangles (referred to as triangle-triangle intersection queries). 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 ≤ n⁶ 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/s^{1/6}) time (here and in what follows, the O^*(⋅) notation hides subpolynomial factors). For problem (ii), 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^*(n²) storage and expected preprocessing, and answers a segment-tetrahedron intersection query in O^*(n^{1/2}) time. Using the parametric search technique of Agarwal and Matoušek [P. K. Agarwal and J. Matoušek, 1993], we can obtain data structures with similar performance bounds for the ray-shooting problem amid tetrahedra in {ℝ}⁴. Unfortunately, so far we do not know how to obtain a similar improvement for problem (ii). Our algorithms are based on a primal-dual technique for range searching with semi-algebraic sets, based on recent advances in this area [P. K. Agarwal et al., 2021; J. Matoušek and Z. Patáková, 2015]. As this is a result of independent interest, we spell out the details of this technique. As an application, we present a solution to the problem of "continuous collision detection" amid moving tetrahedra in 3-space. That is, the workspace consists of n tetrahedra, each moving at its own fixed velocity, and the goal is to detect a collision between some pair of moving tetrahedra. Using our solutions to problems (i) and (ii), we obtain an algorithm that detects a collision in O^*(n^{12/7}) expected time. We also present further applications, including an output-sensitive algorithm for constructing the arrangement of n tetrahedra in ℝ⁴ and an output-sensitive algorithm for constructing the intersection or union of two or several nonconvex polyhedra in ℝ⁴.

Subject Classification

ACM Subject Classification
  • Theory of computation → Computational geometry
Keywords
  • Computational geometry
  • Ray shooting
  • Tetrahedra in {ℝ}⁴
  • Intersection queries in {ℝ}⁴
  • Polynomial partitioning
  • Range searching
  • Semi-algebraic sets
  • Tradeoff

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. P. K. Agarwal. Simplex range searching and its variants: A review. In Journey through Discrete Mathematics: A Tribute to Jiří Matoušek, pages 1-30. Springer Verlag, Berlin-Heidelberg, 2017. Google Scholar
  2. P. K. Agarwal, B. Aronov, E. Ezra, and J. Zahl. An efficient algorithm for generalized polynomial partitioning and its applications. SIAM J. Comput., 50:760-787, 2021. Also in Proc. Sympos. on Computational Geometry (SoCG), 2019, 5:1-5:14. Also in URL: https://arxiv.org/abs/1812.10269.
  3. P. K. Agarwal and J. Matoušek. Ray shooting and parameric search. SIAM J. Comput., 22:794-806, 1993. Google Scholar
  4. P. K. Agarwal, J. Matoušek, and M. Sharir. On range searching with semialgebraic sets II. SIAM J. Comput., 42:2039-2062, 2013. Also in URL: https://arxiv.org/abs/1208.3384.
  5. S. Basu, R. Pollcak, and M.-F. Roy. Algorithms in Real Algebraic Geometry. Springer-Verlag, Berlin-Heidelberg, 2nd edition, 2006. Google Scholar
  6. J. Canny. Collision detection for moving polyhedra. IEEE Trans. Pattern Analysis and Machine Intelligence (PAMI), 8:200-209, 1986. Google Scholar
  7. E. Ezra and M. Sharir. On ray shooting for triangles in 3-space and related problems. SIAM J. Comput., to appear. Also in Proc. 37th Sympos. on Computational Geometry, 2021, 34:1-34:15, and in URL: https://arxiv.org/abs/2102.07310.
  8. L. Guth. Polynomial partitioning for a set of varieties. Math. Proc. Camb. Phil. Soc., 159:459-469, 2015. Also in URL: https://arxiv.org/abs/1410.8871.
  9. D. Haussler and E. Welzl. Epsilon-nets and simplex range queries. Discrete Comput. Geom., 2:127-151, 1987. Google Scholar
  10. M. C. Lin, D. Manocha, and Y. J. Kim. Collision and proximity queries. In Handbook on Discrete and Computational Geometry, chapter 39, pages 1029-1056. CRC Press, Boca Raton, Florida, 3rd edition, 2017. Google Scholar
  11. J. Matoušek and Z. Patáková. Multilevel polynomial partitions and simplified range searching. Discrete Comput. Geom., 54:22-41, 2015. Google Scholar
  12. E. Schömer and Ch. Thiel. Efficient collision detection for moving polyhedra. In Proc. 11th Sympos. on Computational Geometry, pages 51-60, 1995. Google Scholar
  13. M. Sharir and P. K. Agarwal. Davenport-Schinzel Sequences and Their Geometric Applications. Cambridge University Press, Cambridge-New York-Melbourne, 1995. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail