Functions

OpenTissue::intersect::Moller::detail Namespace Reference

Functions

template<typename vector3_type , typename real_type >
bool edge_edge_test (vector3_type const &V0, vector3_type const &U0, vector3_type const &U1, unsigned int i0, unsigned int i1, real_type Ax, real_type Ay)
template<typename vector3_type , typename real_type >
bool edge_against_tri_edges (vector3_type const &V0, vector3_type const &V1, vector3_type const &U0, vector3_type const &U1, vector3_type const &U2, unsigned int i0, unsigned int i1)
template<typename vector3_type , typename real_type >
bool point_in_tri (vector3_type const &V0 vector3_type const &U0, vector3_type const &U1, vector3_type const &U2, unsigned int i0, unsigned int i1)
template<typename vector3_type >
bool coplanar_tri_tri (vector3_type const &N, vector3_type const &V0, vector3_type const &V1, vector3_type const &V2, vector3_type const &U0, vector3_type const &U1, vector3_type const &U2)
template<typename vector3_type , typename real_type >
void isect2 (vector3_type const &VTX0, vector3_type const &VTX1, vector3_type const &VTX2, real_type VV0, real_type VV1, real_type VV2, real_type D0, real_type D1, real_type D2, real_type &isect0, real_type &isect1, vector3_type &isectpoint0, vector3_type &isectpoint1)
template<typename vector3_type , typename real_type >
bool compute_intervals_isectline (vector3_type const &VERT0, vector3_type const &VERT1, vector3_type const &VERT2, real_type VV0, real_type VV1, real_type VV2, real_type D0, real_type D1, real_type D2, real_type D0D1, real_type D0D2, real_type &isect0, real_type &isect1, vector3_type &isectpoint0, vector3_type &isectpoint1)
template<typename vector3_type >
bool triangle_triangle_interval_overlap (vector3_type const &V0, vector3_type const &V1, vector3_type const &V2, vector3_type const &U0, vector3_type const &U1, vector3_type const &U2, bool &coplanar, vector3_type &isectpt1, vector3_type &isectpt2, bool epsilon_test=true)

Function Documentation

template<typename vector3_type , typename real_type >
bool OpenTissue::intersect::Moller::detail::compute_intervals_isectline ( vector3_type const &  VERT0,
vector3_type const &  VERT1,
vector3_type const &  VERT2,
real_type  VV0,
real_type  VV1,
real_type  VV2,
real_type  D0,
real_type  D1,
real_type  D2,
real_type  D0D1,
real_type  D0D2,
real_type isect0,
real_type isect1,
vector3_type isectpoint0,
vector3_type isectpoint1 
)
template<typename vector3_type >
bool OpenTissue::intersect::Moller::detail::coplanar_tri_tri ( vector3_type const &  N,
vector3_type const &  V0,
vector3_type const &  V1,
vector3_type const &  V2,
vector3_type const &  U0,
vector3_type const &  U1,
vector3_type const &  U2 
)
template<typename vector3_type , typename real_type >
bool OpenTissue::intersect::Moller::detail::edge_against_tri_edges ( vector3_type const &  V0,
vector3_type const &  V1,
vector3_type const &  U0,
vector3_type const &  U1,
vector3_type const &  U2,
unsigned int  i0,
unsigned int  i1 
)
template<typename vector3_type , typename real_type >
bool OpenTissue::intersect::Moller::detail::edge_edge_test ( vector3_type const &  V0,
vector3_type const &  U0,
vector3_type const &  U1,
unsigned int  i0,
unsigned int  i1,
real_type  Ax,
real_type  Ay 
)
template<typename vector3_type , typename real_type >
void OpenTissue::intersect::Moller::detail::isect2 ( vector3_type const &  VTX0,
vector3_type const &  VTX1,
vector3_type const &  VTX2,
real_type  VV0,
real_type  VV1,
real_type  VV2,
real_type  D0,
real_type  D1,
real_type  D2,
real_type isect0,
real_type isect1,
vector3_type isectpoint0,
vector3_type isectpoint1 
)
template<typename vector3_type , typename real_type >
bool OpenTissue::intersect::Moller::detail::point_in_tri ( vector3_type const &V0 vector3_type const &  U0,
vector3_type const &  U1,
vector3_type const &  U2,
unsigned int  i0,
unsigned int  i1 
)
template<typename vector3_type >
bool OpenTissue::intersect::Moller::detail::triangle_triangle_interval_overlap ( vector3_type const &  V0,
vector3_type const &  V1,
vector3_type const &  V2,
vector3_type const &  U0,
vector3_type const &  U1,
vector3_type const &  U2,
bool &  coplanar,
vector3_type isectpt1,
vector3_type isectpt2,
bool  epsilon_test = true 
)