On Ray Shooting for Triangles in 3-Space and Related Problems

02/15/2021
by   Esther Ezra, et al.
0

We consider several problems that involve lines in three dimensions, and present improved algorithms for solving them. The problems include (i) ray shooting amid triangles in R^3, (ii) reporting intersections between query lines (segments, or rays) and input triangles, as well as approximately counting the number of such intersections, (iii) computing the intersection of two nonconvex polyhedra, (iv) detecting, counting, or reporting intersections in a set of lines in R^3, and (v) output-sensitive construction of an arrangement of triangles in three dimensions. Our approach is based on the polynomial partitioning technique. For example, our ray-shooting algorithm processes a set of n triangles in R^3 into a data structure for answering ray shooting queries amid the given triangles, which uses O(n^3/2+ε) storage and preprocessing, and answers a query in O(n^1/2+ε) time, for any ε>0. This is a significant improvement over known results, obtained more than 25 years ago, in which, with this amount of storage, the query time bound is roughly n^5/8. The algorithms for the other problems have similar performance bounds, with similar improvements over previous results. We also derive a nontrivial improved tradeoff between storage and query time. Using it, we obtain algorithms that answer m queries on n objects in max{ O(m^2/3n^5/6+ε + n^1+ε), O(m^5/6+εn^2/3 + m^1+ε) } time, for any ε>0, again an improvement over the earlier bounds.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset