Assimp  v3.1.1 (June 2014)
PolyTools.h File Reference

, various utilities for our dealings with arbitrary polygons More...

Namespaces

 Assimp
 MACHINE-GENERATED by scripts/ICFImporter/CppGenerator.py.
 

Functions

template<typename T >
double Assimp::GetArea2D (const T &v1, const T &v2, const T &v3)
 Compute the signed area of a triangle. More...
 
template<typename T >
bool Assimp::IsCCW (T *in, size_t npoints)
 Check whether the winding order of a given polygon is counter-clockwise. More...
 
template<int ofs_x, int ofs_y, int ofs_z, typename TReal >
void Assimp::NewellNormal (aiVector3t< TReal > &out, int num, TReal *x, TReal *y, TReal *z)
 Compute the normal of an arbitrary polygon in R3. More...
 
template<typename T >
bool Assimp::OnLeftSideOfLine2D (const T &p0, const T &p1, const T &p2)
 Test if a given point p2 is on the left side of the line formed by p0-p1. More...
 
template<typename T >
bool Assimp::PointInTriangle2D (const T &p0, const T &p1, const T &p2, const T &pp)
 Test if a given point is inside a given triangle in R2. More...
 

Detailed Description

, various utilities for our dealings with arbitrary polygons