12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef IGL_SEGMENT_SEGMENT_INTERSECT_H
- #define IGL_SEGMENT_SEGMENT_INTERSECT_H
- #include "igl_inline.h"
- #include <Eigen/Core>
- namespace igl
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
- template<typename DerivedSource, typename DerivedDir>
- IGL_INLINE bool segments_intersect(
- const Eigen::PlainObjectBase <DerivedSource> &p,
- const Eigen::PlainObjectBase <DerivedDir> &r,
- const Eigen::PlainObjectBase <DerivedSource> &q,
- const Eigen::PlainObjectBase <DerivedDir> &s,
- double &t,
- double &u,
- double eps = 1e-6
- );
- }
- #ifndef IGL_STATIC_LIBRARY
- # include "segment_segment_intersect.cpp"
- #endif
- #endif
|