aimstil
5.0.5
|
Check whether two triangles are intersecting or not. More...
#include <cathier/geometrics.h>
Public Types | |
typedef TArray::value_type | prec_type |
typedef numeric_array< prec_type, 2 > | Array2D |
Public Member Functions | |
bool | operator() (const TArray &A1, const TArray &B1, const TArray &C1, const TArray &A2, const TArray &B2, const TArray &C2) |
Check if two triangles in 3D are intersecting. More... | |
Check whether two triangles are intersecting or not.
TODO: I think I could use a 'strict' argument, that would decide on whether we want a strict or loose interesction, or more precisely, if we consider the triangles as topologically open or closed. Right now they are considered as open.
Definition at line 560 of file geometrics.h.
typedef numeric_array<prec_type,2> til::geo::AreIntersecting::Triangles3D< TArray >::Array2D |
Definition at line 565 of file geometrics.h.
typedef TArray::value_type til::geo::AreIntersecting::Triangles3D< TArray >::prec_type |
Definition at line 564 of file geometrics.h.
|
inline |
Check if two triangles in 3D are intersecting.
Definition at line 573 of file geometrics.h.
References til::abs(), til::dot(), til::geo::is_in_circumcircle(), til::max(), til::min_index(), til::fuzzy::same_sign(), and til::geo::triangle_normal().