#include <triangle3i.h>
3d triangle of 32bits integer points
Public Member Functions | |
KyUInt32 | IsInside2d (const Vec2i &M) const |
Returns true if the (X,Y) coordinates of the specified point lie inside the (X,Y) extents of the triangle, or exactly on one edge of the triangle. More... | |
bool | IsInside2d_NoFlat (const Vec2i &M) const |
Returns true if the (X,Y) coordinates of the specified point lie inside the (X,Y) extents of the triangle, or exactly on one edge of the triangle. More... | |
bool | IsStrictlyInside2d (const Vec2i &M) const |
Returns true if the (X,Y) coordinates of the specified point lie strictly inside the (X,Y) extents of the triangle. More... | |
Returns true if the (X,Y) coordinates of the specified point lie inside the (X,Y) extents of the triangle, or exactly on one edge of the triangle.
|
inline |
Returns true if the (X,Y) coordinates of the specified point lie inside the (X,Y) extents of the triangle, or exactly on one edge of the triangle.
This method assumes that the plane of the triangle is not horizontal.
|
inline |
Returns true if the (X,Y) coordinates of the specified point lie strictly inside the (X,Y) extents of the triangle.