class csSquaredDist Some functions to perform squared distance calculations
| | PointLine (const csVector3& p, const csVector3& l1, const csVector3& l2) Returns the squared distance between a point and a line. |
| | PointPlane (const csVector3& p, const csPlane& plane) Returns the squared distance between a point and a normalized plane. |
| | PointPoint (const csVector3& p1, const csVector3& p2) Returns the squared distance between two points. |
| | PointPoly (const csVector3& p, csVector3 *V, int n, const csPlane& plane, float sqdist = -1) Returns the squared distance between a point and a polygon |
Some functions to perform squared distance calculations. This is a static class and contains only static member functions.
static float PointLine(const csVector3& p, const csVector3& l1, const csVector3& l2)
static float PointPlane(const csVector3& p, const csPlane& plane)
static float PointPoly(const csVector3& p, csVector3 *V, int n, const csPlane& plane, float sqdist = -1)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de