gwnavruntime/math/closedcontour.h File Reference

closedcontour.h File Reference

Namespaces

 Kaim
 The Autodesk Navigation namespace.
 

Functions

bool Kaim::ClosedContour::DoesContain2f (const Vec2f &P, const Vec2f *points, KyUInt32 count, bool *OnBorder=nullptr)
 points[count - 1] == points[0] Return true if the point is inside the polyline (including borders by default, depending on insideIfOnBorder parameter) or false otherwise. More...
 
bool Kaim::ClosedContour::DoesContain2i (const Vec2i &p, const Vec2i *points, KyUInt32 count, bool *OnBorder=nullptr)
 points[count - 1] == points[0] Return true if the point is inside the polyline (including borders by default, depending on insideIfOnBorder parameter) or false otherwise. More...
 
PolygonWinding Kaim::ClosedContour::ComputeWinding2i (const Vec2i *points, KyUInt32 count)
 points[count - 1] == points[0] More...
 
PolygonWinding Kaim::ClosedContour::ComputeWinding2f (const Vec2f *points, KyUInt32 count)
 points[count - 1] == points[0] More...
 
PolygonWinding Kaim::ClosedContour::ComputeWinding2i (const KyArrayPOD< Vec2i > &points)
 points[count - 1] == points[0] More...
 
bool Kaim::ClosedContour::IsTwisted (const Vec2f *points, KyUInt32 count)
 points[count - 1] == points[0] More...
 

Go to the source code of this file.