Nothing Special   »   [go: up one dir, main page]

Skip to main content
Log in

Two-dimensional line segment–triangle intersection test: revision and enhancement

  • Original Article
  • Published:
The Visual Computer Aims and scope Submit manuscript

Abstract

Two-dimensional line segment–triangle intersection test is a part of some 3D triangle–triangle intersection test algorithms. It is the kind of algorithms dealing with intersection of one triangle and line segment obtained as the intersection of the other triangle with the plane which the first triangle lies on. There appeared a number of algorithms each proclaiming its efficiency against to its predecessors with respect to the number of operations. In the paper, we seek out the minimal set of operations. Applying divide and conquer paradigm, we split the operations needed into (a) fixed part consisting of core arithmetic operations and (b) variable part dealing with logical reasoning. As we come to the set of core arithmetic operations that cannot be further minified we realize previous algorithms come to the same set in spite of their different strategies. Further improvement we sought in the area of modern processor architectures. We exploit modern CPU’s parallel processing capabilities like Single instruction, multiple data vectorization, parallel—out-of-order execution and branch prediction and enlighten their strengths and weaknesses for usage in this type of algorithms.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

References

  1. Gottschalk, S., Lin, M.: Collision detection between geometric models: a survey. In: Proceedings of IMA Conference on Mathematics of Surfaces 1998, pp. 3–15 (1998)

  2. Botsch, M., Pauly, M., Kobbelt, L., Alliez, P., Lévy, B., Bischoff, S., Rössl, C.: Geometric Modeling Based on Polygonal Meshes, Eurographics 2008—Tutorials. http://lgg.epfl.ch/publications/2008/botsch_2008_GMPeg.pdf. Accessed Dec 2017

  3. Möller, T.: A fast triangle–triangle intersection test. J. Graph. Tools 2(2), 25–30 (1997)

    Article  Google Scholar 

  4. Held, M.: ERIT—a collection of efficient and reliable intersection tests. J. Graph. Tools 2(4), 25–44 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  5. Devillers, O., Guigu, P.: Faster triangle–triangle intersection tests. Technical report 4488, INRIA (2002)

  6. Tropp, O., Tal, A., Shimshoni, I.: A fast triangle to triangle intersection test for collision detection. Comput. Animat. Virtual Worlds 17(50), 527–535 (2006)

    Article  Google Scholar 

  7. Ling-yu, Wei: A faster triangle-to-triangle intersection test algorithm. Comput. Animat. Virtual Worlds 25(5–6), 553–559 (2014)

    Article  Google Scholar 

  8. Tang, K.T.: Mathematical Methods for Engineers and Scientists—Complex Analysis. Determinants and Matrices. Springer, Berlin (2007)

    MATH  Google Scholar 

  9. Shen, J.P., Lipasti, M.H.: Modern Processor Design. Fundamentals of Superscalar Processors. Waveland Press, Long Grove (2005)

    Google Scholar 

  10. Fog, A.: Optimizing software in C++: an optimization guide for Windows, Linux and Mac platforms. Technical University of Denmark. http://www.agner.org/optimize/optimizing_cpp.pdf. Accessed Dec 2017

  11. Intel 64 and IA-32 Architectures Optimization Reference Manual, Intel Corporation, Order Number: 248966-033 (2016)

  12. Klosowski, J.T., Held, M., Mitchell, J.S.B., Sowizral, H., Zikan, K.: Efficient collision detection using bounding volume hierarchies of k-DOPs. IEEE Trans. Vis. Comput. Graph. 4(1), 21–36 (1998)

    Article  Google Scholar 

Download references

Acknowledgements

I express my gratitude to professor Joseph Mitchell from State University of New York at Stony Brook, for handing out the code of QuickCD algorithms to me.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Simo Jokanovic.

Ethics declarations

Conflict of interest

Author Simo Jokanovic declares that he has no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Jokanovic, S. Two-dimensional line segment–triangle intersection test: revision and enhancement. Vis Comput 35, 1347–1359 (2019). https://doi.org/10.1007/s00371-018-01614-1

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00371-018-01614-1

Keywords

Navigation