Kaim::Triangle3i Class Reference

Kaim::Triangle3i Class Reference

#include <triangle3i.h>

Class Description

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...
 

Member Function Documentation

KyUInt32 Kaim::Triangle3i::IsInside2d ( const Vec2i M) const
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.

bool Kaim::Triangle3i::IsInside2d_NoFlat ( const Vec2i M) const
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.

bool Kaim::Triangle3i::IsStrictlyInside2d ( const Vec2i M) const
inline

Returns true if the (X,Y) coordinates of the specified point lie strictly inside the (X,Y) extents of the triangle.


The documentation for this class was generated from the following file: