GlsMap Toolkit
1.4.2
|
#include <dnc_util.h>
Public Member Functions | |
double | GetArea (void) const |
bool | PointTest (const VPFUtil::Coord2DLong &p) const |
Public Attributes | |
VPFUtil::Coord2DLong | p1 |
VPFUtil::Coord2DLong | p2 |
VPFUtil::Coord2DLong | p3 |
one triangle of an area ( CCW winding )
|
inline |
Get the area of the triangle
|
inline |
Determine if the given point falls within the triangle. NOTE: algorithm requires that triangle is wound CCW
p | point in question |
VPFUtil::Coord2DLong disti::DNCUtil::Tri::p1 |
first point of tri
VPFUtil::Coord2DLong disti::DNCUtil::Tri::p2 |
second point of tri
VPFUtil::Coord2DLong disti::DNCUtil::Tri::p3 |
third point of tri