libigl v2.5.0
Loading...
Searching...
No Matches
triangle_triangle_intersect.h
Go to the documentation of this file.
1#ifndef IGL_TRIANGLE_TRIANGLE_INTERSECT_H
2#define IGL_TRIANGLE_TRIANGLE_INTERSECT_H
3
4#include "igl_inline.h"
5#include <Eigen/Core>
6
7namespace igl
8{
46 template <
47 typename DerivedV,
48 typename DerivedF,
49 typename DerivedE,
50 typename DerivedEMAP,
51 typename DerivedEF,
52 typename Derivedp>
54 const Eigen::MatrixBase<DerivedV> & V,
55 const Eigen::MatrixBase<DerivedF> & F,
56 const Eigen::MatrixBase<DerivedE> & E,
57 const Eigen::MatrixBase<DerivedEMAP> & EMAP,
58 const Eigen::MatrixBase<DerivedEF> & EF,
59 const int f,
60 const int c,
61 const Eigen::MatrixBase<Derivedp> & p,
62 const int g);
75 template <
76 typename DerivedV,
77 typename DerivedF,
78 typename DerivedIF,
79 typename DerivedEV,
80 typename DerivedEE>
82 const Eigen::MatrixBase<DerivedV> & V1,
83 const Eigen::MatrixBase<DerivedF> & F1,
84 const Eigen::MatrixBase<DerivedV> & V2,
85 const Eigen::MatrixBase<DerivedF> & F2,
86 const Eigen::MatrixBase<DerivedIF> & IF,
87 Eigen::PlainObjectBase<DerivedEV> & EV,
88 Eigen::PlainObjectBase<DerivedEE> & EE);
91 template <
92 typename DerivedV,
93 typename DerivedF,
94 typename DerivedIF,
95 typename DerivedEV,
96 typename DerivedEE>
98 const Eigen::MatrixBase<DerivedV> & V,
99 const Eigen::MatrixBase<DerivedF> & F,
100 const Eigen::MatrixBase<DerivedIF> & IF,
101 Eigen::PlainObjectBase<DerivedEV> & EV,
102 Eigen::PlainObjectBase<DerivedEE> & EE);
103}
104
105#ifndef IGL_STATIC_LIBRARY
106# include "triangle_triangle_intersect.cpp"
107#endif
108
109#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:18
bool triangle_triangle_intersect(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedE > &E, const Eigen::MatrixBase< DerivedEMAP > &EMAP, const Eigen::MatrixBase< DerivedEF > &EF, const int f, const int c, const Eigen::MatrixBase< Derivedp > &p, const int g)
Determine whether two triangles intersect.