Skip to main content
Log in

Almost Tight Bounds for Eliminating Depth Cycles in Three Dimensions

  • Published:
Discrete & Computational Geometry Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

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

  1. That is, the points, at which we cut the lines, are removed and do not belong to the resulting pieces.

  2. 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.

  3. Note that, by definition, these “limit” cuts, at the endpoints of \(e_i\) and \(e_{i+1}\), do eliminate the cycle.

  4. For the algorithmic part of the analysis, discussed in Sect. 3 below, it is preferable to work with constant degree D, which is why, up to this point, we have not committed to a particular choice of \(D=D(n)\); see the remark below and Sect. 3 for more details.

  5. 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.

  6. This extension of the analysis of [12], which had originally been done explicitly only for the case of segments, to more general well-behaved arcs, appears to be considered folklore (see, e.g., [1, 18]); refer to the discussion of this issue in the subsequent paper [22].

References

  1. 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)

    Chapter  Google Scholar 

  2. 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

  3. 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)

  4. Aronov, B., Koltun, V., Sharir, M.: Cutting triangular cycles of lines in space. Discrete Comput. Geom. 33(2), 231–247 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  5. 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

  6. 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)

  7. Basu, S., Pollack, R., Roy, M.-F.: Algorithms in Real Algebraic Geometry. Algorithms and Computation in Mathematics, vol. 10. 2nd edn. Springer, Berlin (2003)

  8. de Berg, M.: Efficient Algorithms for Ray Shooting and Hidden Surface Removal. PhD Thesis, University of Utrecht, Utrecht (1992)

  9. 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

  10. de Berg, M., Cheong, O., van Kreveld, M., Overmars, M.: Computational Geometry: Algorithms and Applications, 3rd edn. Springer, Berlin (2008)

    Book  MATH  Google Scholar 

  11. de Berg, M., Overmars, M., Schwarzkopf, O.: Computing and verifying depth orders. SIAM J. Comput. 23(2), 437–446 (1994)

    Article  MathSciNet  MATH  Google Scholar 

  12. de Berg, M., Schwarzkopf, O.: Cuttings and applications. Int. J. Comput. Geom. Appl. 5(4), 343–355 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  13. 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)

    Article  MathSciNet  MATH  Google Scholar 

  14. Even, G., Naor, J.S., Rao, S., Schieber, B.: Divide-and-conquer approximation algorithms via spreading metrics. J. ACM 47(4), 585–616 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  15. 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)

  16. Guth, L.: Polynomial partitioning for a set of varieties. Math. Proc. Camb. Philos. Soc. 159(3), 459–469 (2015). arXiv:1410.8871

  17. 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

  18. Har-Peled, S.: Constructing cuttings in theory and practice. SIAM J. Comput. 29(6), 2016–2039 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  19. Har-Peled, S., Sharir, M.: Online point location in planar arrangements and its applications. Discrete Comput. Geom. 26(1), 19–40 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  20. Kaplan, H., Sharir, M., Shustin, E.: On lines and joints. Discrete Comput. Geom. 44(4), 838–843 (2010). arXiv:0906.0558

  21. Quilodrán, R.: The joints problem in \({\mathbb{R}}^{n}\). SIAM J. Discrete Math. 23(4), 2211–2213 (2010). arXiv:0906.0555

  22. Sharir, M., Zahl, J.: Cutting algebraic curves into pseudo-segments and applications. J. Comb. Theory, Ser. A 150, 1–35 (2017). arXiv:1604.07877

  23. 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)

Download references

Acknowledgements

We thank an anonymous referee for many helpful comments on the paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Boris Aronov.

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00454-017-9920-9

Keywords

Mathematics Subject Classification

Navigation