Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
IndTriC::IndTriC(Vector3dC &,Vector3dC &,Vector3dC &)
IndTriC::~IndTriC(void)
IndTriC::Area(void) const
IndTriC::Normal(void) const
IndTriC::EdgeLength(const int,const int) const
IndTriC::MinimumEdgeLength(void) const
IndTriC::SlowNearestPoint(const Vector3dC) const
IndTriC::NearestPoint(const Vector3dC) const
IndTriC
 
IndTriC is used to determine the nearest point on a triangle.
 
include "amma/IndTri.hh"
User Level:Default
Library:Polops
Example: poltool.cc
Section: 3D Surface.Polyhedral Representation
In Scope:std

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