gwnavruntime/math/geometryfunctions.h Source File
Go to the documentation of this file.
10 #ifndef Navigation_GeometryFunctions_H
11 #define Navigation_GeometryFunctions_H
20 namespace GeometryFunctions
29 bool IsInside2d_Polyline(
const Vec2f& p,
const Vec2f* points,
KyUInt32 count,
bool* OnBorder =
KY_NULL);
30 bool IsInside2d_Polyline(
const Vec2i& p,
const Vec2i* points,
KyUInt32 count,
bool* OnBorder =
KY_NULL);
32 PolygonWinding ComputePolygonWinding(
const Vec2i* polygon,
KyUInt32 count);
33 PolygonWinding ComputePolygonWinding(
const Vec2f* polygon,
KyUInt32 count);
34 inline PolygonWinding ComputePolygonWinding(
const KyArrayPOD<Vec2i>& polygon)
36 return ComputePolygonWinding(polygon.GetDataPtr(), polygon.GetCount());
40 bool IsTwisted(
const Vec2f* polygon,
KyUInt32 count);
47 #endif // Navigation_GeometryFunctions_H
#define KY_NULL
Null value.
Definition: types.h:247
Definition: gamekitcrowddispersion.h:20
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36