84#ifndef IGL_TRI_TRI_INTERSECT_H
85#define IGL_TRI_TRI_INTERSECT_H
103template <
typename DerivedP1,
typename DerivedQ1,
typename DerivedR1,
104typename DerivedP2,
typename DerivedQ2,
typename DerivedR2>
106 const Eigen::MatrixBase<DerivedP1> & p1,
107 const Eigen::MatrixBase<DerivedQ1> & q1,
108 const Eigen::MatrixBase<DerivedR1> & r1,
109 const Eigen::MatrixBase<DerivedP2> & p2,
110 const Eigen::MatrixBase<DerivedQ2> & q2,
111 const Eigen::MatrixBase<DerivedR2> & r2);
129template <
typename DerivedP1,
typename DerivedQ1,
typename DerivedR1,
130typename DerivedP2,
typename DerivedQ2,
typename DerivedR2,
131typename DerivedS,
typename DerivedT>
133 const Eigen::MatrixBase<DerivedP1> & p1,
const Eigen::MatrixBase<DerivedQ1> & q1,
const Eigen::MatrixBase<DerivedR1> & r1,
134 const Eigen::MatrixBase<DerivedP2> & p2,
const Eigen::MatrixBase<DerivedQ2> & q2,
const Eigen::MatrixBase<DerivedR2> & r2,
136 Eigen::MatrixBase<DerivedS> & source,
137 Eigen::MatrixBase<DerivedT> & target );
148template <
typename DerivedP1,
typename DerivedQ1,
typename DerivedR1,
149typename DerivedP2,
typename DerivedQ2,
typename DerivedR2>
151 const Eigen::MatrixBase<DerivedP1> &p1,
const Eigen::MatrixBase<DerivedQ1> &q1,
const Eigen::MatrixBase<DerivedR1> &r1,
152 const Eigen::MatrixBase<DerivedP2> &p2,
const Eigen::MatrixBase<DerivedQ2> &q2,
const Eigen::MatrixBase<DerivedR2> &r2);
157#ifndef IGL_STATIC_LIBRARY
158# include "tri_tri_intersect.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
bool tri_tri_intersection_test_3d(const Eigen::MatrixBase< DerivedP1 > &p1, const Eigen::MatrixBase< DerivedQ1 > &q1, const Eigen::MatrixBase< DerivedR1 > &r1, const Eigen::MatrixBase< DerivedP2 > &p2, const Eigen::MatrixBase< DerivedQ2 > &q2, const Eigen::MatrixBase< DerivedR2 > &r2, bool &coplanar, Eigen::MatrixBase< DerivedS > &source, Eigen::MatrixBase< DerivedT > &target)
bool tri_tri_overlap_test_3d(const Eigen::MatrixBase< DerivedP1 > &p1, const Eigen::MatrixBase< DerivedQ1 > &q1, const Eigen::MatrixBase< DerivedR1 > &r1, const Eigen::MatrixBase< DerivedP2 > &p2, const Eigen::MatrixBase< DerivedQ2 > &q2, const Eigen::MatrixBase< DerivedR2 > &r2)
bool tri_tri_overlap_test_2d(const Eigen::MatrixBase< DerivedP1 > &p1, const Eigen::MatrixBase< DerivedQ1 > &q1, const Eigen::MatrixBase< DerivedR1 > &r1, const Eigen::MatrixBase< DerivedP2 > &p2, const Eigen::MatrixBase< DerivedQ2 > &q2, const Eigen::MatrixBase< DerivedR2 > &r2)