#include <ddggeom.h>
Public Members | |||
ddgTriangle (ddgVector3 p1, ddgVector3 p2, ddgVector3 p3 ) | |||
Constructor. | |||
bool | intersectTriangleWithLine ( const ddgVector3 l1, const ddgVector3 l2, ddgVector3 *pi) | ||
Intersect a triangle with line. Returns if point is. | |||
bool | intersectPointTriangle ( const ddgVector3 pt) | ||
Intersect a point with triangle. More... |
bool ddgTriangle::intersectPointTriangle (const ddgVector3 pt) |
Intersect a point with triangle.
Returns if point is inside the triangle. point is assumed to lie in plane of triangle.