libigl v2.5.0
Loading...
Searching...
No Matches
triangle_triangle_intersect_shared_vertex.h
Go to the documentation of this file.
1#ifndef IGL_TRIANGLE_TRIANGLE_INTERSECT_SHARED_VERTEX_H
2#define IGL_TRIANGLE_TRIANGLE_INTERSECT_SHARED_VERTEX_H
3
4#include "igl_inline.h"
5#include <Eigen/Core>
6
7namespace igl
8{
29 template <
30 typename DerivedV,
31 typename DerivedF,
32 typename Derivedp>
34 const Eigen::MatrixBase<DerivedV> & V,
35 const Eigen::MatrixBase<DerivedF> & F,
36 const int f,
37 const int sf,
38 const int c,
39 const Eigen::MatrixBase<Derivedp> & p,
40 const int g,
41 const int sg,
42 const typename DerivedV::Scalar epsilon);
43}
44
45#ifndef IGL_STATIC_LIBRARY
46# include "triangle_triangle_intersect_shared_vertex.cpp"
47#endif
48
49#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:18
bool triangle_triangle_intersect_shared_vertex(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const int f, const int sf, const int c, const Eigen::MatrixBase< Derivedp > &p, const int g, const int sg, const typename DerivedV::Scalar epsilon)
Determine whether two triangles — which share a vertex F(f,sf) == F(g,sg) — intersect.