class csMath2 Various functions in 2D, such as 2D vector functions
| | Area2 (float ax, float ay, float bx, float by, float cx, float cy) Calculates 2 x the area of a given triangle |
| | InPoly2D (const csVector2& v, csVector2* P, int n, csBox* bounding_box) Calculates whether a vector lies inside a given 2D polygon |
| | Left (float ax, float ay, float bx, float by, float cx, float cy) Calculates whether a point lies to the left of a given line |
| | Right (float ax, float ay, float bx, float by, float cx, float cy) Calculates whether a point lies to the right of a given line |
| | WhichSide2D (const csVector2& v, const csVector2& s1, const csVector2& s2) Calculates which side of a line a given point is on |
Various functions in 2D, such as 2D vector functions. This is a static class and contains only static member functions.
static int InPoly2D(const csVector2& v, csVector2* P, int n, csBox* bounding_box)
static float Area2(float ax, float ay, float bx, float by, float cx, float cy)
static bool Right(float ax, float ay, float bx, float by, float cx, float cy)
static bool Left(float ax, float ay, float bx, float by, float cx, float cy)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de