triangle_triangle_intersect.h 539 B

12345678910111213141516171819202122232425
  1. #ifndef IGL_PREDICATES_TRIANGLE_TRIANGLE_INTERSECT_H
  2. #define IGL_PREDICATES_TRIANGLE_TRIANGLE_INTERSECT_H
  3. #include "../igl_inline.h"
  4. namespace igl
  5. {
  6. namespace predicates
  7. {
  8. template <typename Vector3D>
  9. IGL_INLINE bool triangle_triangle_intersect(
  10. const Vector3D & a1,
  11. const Vector3D & a2,
  12. const Vector3D & a3,
  13. const Vector3D & b1,
  14. const Vector3D & b2,
  15. const Vector3D & b3,
  16. bool & coplanar);
  17. }
  18. }
  19. #ifndef IGL_STATIC_LIBRARY
  20. #include "triangle_triangle_intersect.cpp"
  21. #endif
  22. #endif