Skip to main content

Lines through Segments in 3D Space

  • Conference paper
Algorithms – ESA 2012 (ESA 2012)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7501))

Included in the following conference series:

Abstract

Given a set \(\mathcal S\) of n line segments in three-dimensional space, finding all the lines that simultaneously intersect at least four line segments in \(\mathcal S\) is a fundamental problem that arises in a variety of domains. We refer to this problem as the lines-through-segments problem, or LTS for short. We present an efficient output-sensitive algorithm and its implementation to solve the LTS problem. The implementation is exact and properly handles all degenerate cases. To the best of our knowledge, this is the first implementation for the LTS problem that is (i) output sensitive and (ii) handles all degenerate cases. The algorithm runs in O((n 3 + I)logn) time, where I is the output size, and requires O(nlogn + J) working space, where J is the maximum number of output elements that intersect two fixed line segments; I and J are bounded by O(n 4) and O(n 2), respectively. We use Cgal arrangements and in particular its support for two-dimensional arrangements in the plane and on the sphere in our implementation. The efficiency of our implementation stems in part from careful crafting of the algebraic tools needed in the computation. We also report on the performance of our algorithm and its implementation compared to others. The source code of the LTS program as well as the input examples for the experiments can be obtained from http://acg.cs.tau.ac.il/projects/lts .

This work has been supported in part by the 7th Framework Programme for Research of the European Commission, under FET-Open grant number 255827 (CGL—Computational Geometry Learning), by the Israel Science Foundation (grant no. 1102/11), by the German-Israeli Foundation (grant no. 969/07), and by the Hermann Minkowski–Minerva Center for Geometry at Tel Aviv University.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Berberich, E., Fogel, E., Halperin, D., Kerber, M., Setter, O.: Arrangements on parametric surfaces II: Concretizations and applications. Math. in Comput. Sci. 4, 67–91 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  2. Berberich, E., Fogel, E., Halperin, D., Mehlhorn, K., Wein, R.: Arrangements on parametric surfaces I: General framework and infrastructure. Math. in Comput. Sci. 4, 45–66 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  3. Berberich, E., Hemmer, M., Kerber, M.: A generic algebraic kernel for non-linear geometric applications. In: Proc. 27th Annu. ACM Symp. Comput. Geom., pp. 179–186. ACM Press, New York (2011)

    Google Scholar 

  4. Brönnimann, H., Burnikel, C., Pion, S.: Interval arithmetic yields efficient dynamic filters for computational geometry. Disc. Appl. Math. 109, 25–47 (2001)

    Article  MATH  Google Scholar 

  5. Brönnimann, H., Devillers, O., Dujmovic, V., Everett, H., Glisse, M., Goaoc, X., Lazard, S., Suk Na, H.: Lines and free line segments tangent to arbitrary three-dimensional convex polyhedra. SIAM J. on Computing 37, 522–551 (2006)

    Article  Google Scholar 

  6. Brönnimann, H., Everett, H., Lazard, S., Sottile, F., Whitesides, S.: Transversals to line segments in three-dimensional space. Disc. Comput. Geom. 34, 381–390 (2005), doi:10.1007/s00454-005-1183-1

    Article  MATH  Google Scholar 

  7. Demouth, J., Devillers, O., Everett, H., Glisse, M., Lazard, S., Seidel, R.: On the complexity of umbra and penumbra. Comput. Geom. Theory Appl. 42, 758–771 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  8. Devillers, O., Glisse, M., Lazard, S.: Predicates for line transversals to lines and line segments in three-dimensional space. In: Proc. 24th Annu. ACM Symp. Comput. Geom., pp. 174–181. ACM Press (2008)

    Google Scholar 

  9. Devillers, O., Pion, S.: Efficient exact geometric predicates for Delaunay triangulations. In: Proc. 5th Workshop Alg. Eng. Experiments, pp. 37–44 (2003)

    Google Scholar 

  10. Everett, H., Lazard, S., Lenhart, W., Redburn, J., Zhang, L.: On the degree of standard geometric predicates for line transversals. Comput. Geom. Theory Appl. 42(5), 484–494 (2009)

    Article  MATH  Google Scholar 

  11. Fogel, E., Halperin, D.: Polyhedral Assembly Partitioning with Infinite Translations or The Importance of Being Exact. In: Chirikjian, G.S., Choset, H., Morales, M., Murphey, T. (eds.) Algorithmic Foundation of Robotics VIII. STAR, vol. 57, pp. 417–432. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  12. Hemmer, M., Hert, S., Kettner, L., Pion, S., Schirra, S.: Number types. Cgal User and Reference Manual. Cgal Editorial Board, 4.0 edn. (2012), http://www.cgal.org/Manual/4.0/doc_html/cgal_manual/ackages.html#Pkg:NumberTypes

  13. McKenna, M., O’Rourke, J.: Arrangements of lines in 3-space: a data structure with applications. In: Proc. 4th Annu. ACM Symp. Comput. Geom., pp. 371–380. ACM Press, New York (1988)

    Google Scholar 

  14. Pion, S., Fabri, A.: A Generic Lazy Evaluation Scheme for Exact Geometric Computations. Sci. Comput. Programming 76(4), 307–323 (2011)

    Article  Google Scholar 

  15. Redburn, J.: Robust computation of the non-obstructed line segments tangent to four amongst n triangles. PhD thesis, Williams College, Massachusetts (2003)

    Google Scholar 

  16. Salzman, O., Hemmer, M., Raveh, B., Halperin, D.: Motion planning via manifold samples. In: Proc. 19th Annu. Eur. Symp. Alg., pp. 493–505 (2011)

    Google Scholar 

  17. Teller, S., Hohmeyer, M.: Determining the lines through four lines. J. of Graphics, Gpu, and Game Tools 4(3), 11–22 (1999)

    Google Scholar 

  18. The Cgal Project. Cgal User and Reference Manual. Cgal Editorial Board, 4.0 edn. (2012), http://www.cgal.org/Manual/4.0/doc_html/cgal_manual/title.html

  19. Wein, R., Fogel, E., Zukerman, B., Halperin, D.: Advanced programming techniques applied to Cgal’s arrangement package. Comput. Geom. Theory Appl. 38(1-2), 37–63 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  20. Wein, R., Fogel, E., Zukerman, B., Halperin, D.: 2D arrangements. Cgal User and Reference Manual. Cgal Editorial Board, 4.0 edn. (2012), http://www.cgal.org/Manual/4.0/doc_html/cgal_manual/packages.html#Pkg:Arrangement2

  21. Wilson, R.H., Kavraki, L., Latombe, J.-C., Lozano-Pérez, T.: Two-handed assembly sequencing. Int. J. of Robotics Research 14, 335–350 (1995)

    Article  Google Scholar 

  22. Yap, C.-K., Dubé, T.: The exact computation paradigm. In: Du, D.-Z., Hwang, F.K. (eds.) GI 1973, 2nd edn. LNCS, vol. 1, pp. 452–492. World Scientific, Singapore (1973)

    Google Scholar 

  23. Zhang, L., Everett, H., Lazard, S., Weibel, C., Whitesides, S.H.: On the Size of the 3D Visibility Skeleton: Experimental Results. In: Halperin, D., Mehlhorn, K. (eds.) ESA 2008. LNCS, vol. 5193, pp. 805–816. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Fogel, E., Hemmer, M., Porat, A., Halperin, D. (2012). Lines through Segments in 3D Space. In: Epstein, L., Ferragina, P. (eds) Algorithms – ESA 2012. ESA 2012. Lecture Notes in Computer Science, vol 7501. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-33090-2_40

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-33090-2_40

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-33089-6

  • Online ISBN: 978-3-642-33090-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics