Abstract
Given n pairwise disjoint non-vertical lines in 3-space, their vertical depth (i.e., above/below) relation may contain cycles. We show that the lines can be cut into \(O(n^{3/2}{{\mathrm{polylog}}}\, n)\) pieces, such that the depth relation among these pieces is a proper partial order. This bound is nearly tight in the worst case. Our proof uses a recent variant of the polynomial partitioning technique, due to Guth, and some simple tools from algebraic geometry. Our technique can be extended to eliminating all cycles in the depth relation among segments and among constant-degree algebraic arcs. Our results almost completely settle a 35-year-old open problem in computational geometry motivated by hidden-surface removal in computer graphics. We also discuss several algorithms for constructing a small set of cuts so as to eliminate all depth-relation cycles among the lines.
We’re sorry, something doesn't seem to be working properly.
Please try refreshing the page. If that doesn't work, please contact support so we can address the problem.
Notes
That is, the points, at which we cut the lines, are removed and do not belong to the resulting pieces.
The correctness of this naïve procedure is immediate when the lines are in general position and requires a short justification when they are not. The argument is offered in Sect. 2.
Note that, by definition, these “limit” cuts, at the endpoints of \(e_i\) and \(e_{i+1}\), do eliminate the cycle.
The assumption of general position is not really necessary, but, to simplify the presentation, we refrain from spelling out all the details needed to handle degeneracies, both here and below, and so state the results for general position only.
References
Agarwal, P.K., Aronov, B., Sharir, M.: On the complexity of many faces in arrangements of pseudo-segments and circles. In: Aronov, B., et al. (eds.) Discrete and Computational Geometry—The Goodman–Pollack Festschrift. Algorithms and Combinatorics, vol. 25, pp. 1–24. Springer, Heidelberg (2003)
Agarwal, P.K., Matoušek, J., Sharir, M.: On range searching with semialgebraic sets. II. SIAM J. Comput. 42(6), 2039–2062 (2013). arXiv:1208.3384
Aronov, B., de Berg, M., Gray, C., Mumford, E.: Cutting cycles of rods in space: hardness results and approximation algorithms. In: Proceedings of the 19th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA’08), pp. 1241–1248. SIAM, Philadelphia (2008)
Aronov, B., Koltun, V., Sharir, M.: Cutting triangular cycles of lines in space. Discrete Comput. Geom. 33(2), 231–247 (2005)
Aronov, B., Miller, E.Y., Sharir, M.: Eliminating depth cycles among triangles in three dimensions. In: Proceedings of the 28th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA’17), pp. 2476–2494. SIAM, Philadelphia (2017). arXiv:1607.06136
Aronov, B., Sharir, M.: Almost tight bounds for eliminating depth cycles in three dimensions. In: Proceedings of the 48th Annual ACM Symposium on Theory of Computing (STOC’16), pp. 1–8. ACM, New York (2016)
Basu, S., Pollack, R., Roy, M.-F.: Algorithms in Real Algebraic Geometry. Algorithms and Computation in Mathematics, vol. 10. 2nd edn. Springer, Berlin (2003)
de Berg, M.: Efficient Algorithms for Ray Shooting and Hidden Surface Removal. PhD Thesis, University of Utrecht, Utrecht (1992)
de Berg, M.: Removing depth-order cycles among triangles: an efficient algorithm generating triangular fragments. In: Proceedings of the 58th Annual Symposium on Foundations of Computer Science (FOCS 2017) (to appear). arXiv:1701.00679
de Berg, M., Cheong, O., van Kreveld, M., Overmars, M.: Computational Geometry: Algorithms and Applications, 3rd edn. Springer, Berlin (2008)
de Berg, M., Overmars, M., Schwarzkopf, O.: Computing and verifying depth orders. SIAM J. Comput. 23(2), 437–446 (1994)
de Berg, M., Schwarzkopf, O.: Cuttings and applications. Int. J. Comput. Geom. Appl. 5(4), 343–355 (1995)
Chazelle, B., Edelsbrunner, H., Guibas, L.J., Pollack, R., Seidel, R., Sharir, M., Snoeyink, J.: Counting and cutting cycles of lines and rods in space. Comput. Geom. 1(6), 305–323 (1992)
Even, G., Naor, J.S., Rao, S., Schieber, B.: Divide-and-conquer approximation algorithms via spreading metrics. J. ACM 47(4), 585–616 (2000)
Guibas, L.J., Yao, F.F.: On translating a set of rectangles. In: Proceedings of the 12th Annual ACM Symposium on Theory of Computing (STOC’80), pp. 154–160. ACM, New York (1980)
Guth, L.: Polynomial partitioning for a set of varieties. Math. Proc. Camb. Philos. Soc. 159(3), 459–469 (2015). arXiv:1410.8871
Guth, L., Katz, N.H.: On the Erdős distinct distances problem in the plane. Ann. Math. 181(1), 155–190 (2015). arXiv:1011.4105
Har-Peled, S.: Constructing cuttings in theory and practice. SIAM J. Comput. 29(6), 2016–2039 (2000)
Har-Peled, S., Sharir, M.: Online point location in planar arrangements and its applications. Discrete Comput. Geom. 26(1), 19–40 (2001)
Kaplan, H., Sharir, M., Shustin, E.: On lines and joints. Discrete Comput. Geom. 44(4), 838–843 (2010). arXiv:0906.0558
Quilodrán, R.: The joints problem in \({\mathbb{R}}^{n}\). SIAM J. Discrete Math. 23(4), 2211–2213 (2010). arXiv:0906.0555
Sharir, M., Zahl, J.: Cutting algebraic curves into pseudo-segments and applications. J. Comb. Theory, Ser. A 150, 1–35 (2017). arXiv:1604.07877
Solan, A.: Cutting cycles of rods in space. In: Proceedings of the 14th Annual ACM Symposium on Computational Geometry (SCG’98), pp. 135–142. ACM, New York (1998)
Acknowledgements
We thank an anonymous referee for many helpful comments on the paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
Editor in Charge: János Pach
Work on this paper by B.A. has been partially supported by NSF Grants CCF-11-17336, CCF-12-18791, and CCF-15-40656, and by BSF Grant 2014/170. Work by M.S. has been supported by Grant 2012/229 from the U.S.-Israel Binational Science Foundation, by Grant 892/13 from the Israel Science Foundation, by the Israeli Centers for Research Excellence (I-CORE) program (Center No. 4/11), and by the Hermann Minkowski–MINERVA Center for Geometry at Tel Aviv University. A preliminary version of this paper has appeared in Proceedings of the 48th Annual ACM Symposium on Theory of Computing, 2016, 1–8 [6].
Rights and permissions
About this article
Cite this article
Aronov, B., Sharir, M. Almost Tight Bounds for Eliminating Depth Cycles in Three Dimensions. Discrete Comput Geom 59, 725–741 (2018). https://doi.org/10.1007/s00454-017-9920-9
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00454-017-9920-9
Keywords
- Depth order
- Depth cycles
- Cycle elimination
- Painter’s algorithm
- Algebraic methods in combinatorial geometry
- Polynomial partition