|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
IndTriC is used to determine the nearest point on a triangle.
Variables:
- Vector3dC vert[];
-
Methods:
- IndTriC(Vector3dC & v0,Vector3dC & v1,Vector3dC & v2)
-
- ~IndTriC()
-
Destructor.
- RealT Area() const
-
Returns area of triangle.
- Vector3dC Normal() const
-
Unit normal orthogonal to triangle plane.
- RealT EdgeLength(const int i,const int j) const
-
Edge length between vertex i and vertex j.
There are no range checks, valid values of i & j are 0, 1 & 2.
- RealT MinimumEdgeLength() const
-
Minimum length of 'this' triangle edges.
- TriNearestT SlowNearestPoint(const Vector3dC v) const
-
Nearest point on element; retained for debugging.
- TriNearestT NearestPoint(const Vector3dC v) const
-
Nearest point on element - see FastNearestBaryInside for behaviour on error
|
Programmer: Simon Cunnington and Andrew Stoddart , Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|