![]() |
Polygon Crucher SDK - Documentation
Documentation
|
C3DFace class definition for a 3D face, which is a list of indexes that refers to a 3D point list. More...
C3DFace class definition for a 3D face, which is a list of indexes that refers to a 3D point list.
#include "Face.h"
Go to the source code of this file.
Classes | |
class | C3DFace |
A 3D face is a list of indexes of C3DPointList object point list. More... | |
Macros | |
#define | MIN3(a, b, c) ((((a)<(b))&&((a)<(c))) ? (a) : (((b)<(c)) ? (b) : (c))) |
#define | MAX3(a, b, c) ((((a)>(b))&&((a)>(c))) ? (a) : (((b)>(c)) ? (b) : (c))) |
#define | SIGN3(A) ((((A).x<0)?4:0) | (((A).y<0)?2:0) | (((A).z<0)?1:0)) |
Functions | |
template<typename TYPE > | |
bool | RayIntersectsTriangleTUV (const C3DTPoint< TYPE > &orig, const C3DTVector< TYPE > &dir, const C3DTPoint< TYPE > &v0, const C3DTVector< TYPE > &v01, const C3DTVector< TYPE > &v02, double tuv[], bool allowBothDir=false) |
template<typename TYPE > | |
bool | RayIntersectsTriangle (const C3DTPoint< TYPE > &orig, const C3DTVector< TYPE > &dir, const C3DTPoint< TYPE > &v0, const C3DTVector< TYPE > &v01, const C3DTVector< TYPE > &v02, C3DTPoint< TYPE > *hitPt=NULL, bool allowBothDir=false) |
template<typename TYPE > | |
bool | IsInTriangle (const C3DTPoint< TYPE > &refpt, const C3DTPoint< TYPE > &pt1, const C3DTPoint< TYPE > &pt2, const C3DTPoint< TYPE > &pt3) |