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

  PUBLIC
TriC::TriC(void)
TriC::TriC(BodyTriSetC &,IntT,IntT,IntT)
TriC::TriC(IntT,IntT,IntT)
TriC::TriC(const TriC &)
TriC::operator=(const TriC &)
TriC::IsValid(void) const
TriC::Index(const IntT) const
TriC::Bound(void) const
TriC::Bound(void)
TriC::Vertex(const IntT) const
TriC::Normal(void) const
TriC::VertexNormal(const IntT) const
TriC::EdgeLength(const IntT,const IntT) const
TriC::MinimumEdgeLength(void) const
TriC::MaximumEdgeLength(void) const
TriC::NearestPoint(const Vector3dC) const
TriC::SetBodyTriSet(BodyTriSetC &)
TriC::BodyTriSet(void) const
TriC
 
include "amma/Tri.hh"
User Level:Default
Library:tri
Example: cri.cc
Section:default.Adrian Hilton
In Scope:std

Comments:
=================================================================

Derived Classes: Variables:
BodyTriSetC * ptriset;
pointer to corresponding set (0) =invalid

SArray1dC index;
List of vertex indicies

BooleanT bound;
Only set if TriSet.SetupBound is called

Methods:
TriC()
default empty invalid Tri reqd for array construction TriC(TriSetC& t); TriC(Vector3dC *i,Vector3dC *j,Vector3dC *k);

TriC(BodyTriSetC & ts,IntT i,IntT j,IntT k)
Construct tri between verticies i,j,k of BodyTriSetC contains reference pointer to BodyTriSetC

TriC(IntT i,IntT j,IntT k)
Construct temporary tri between verticies i,j,k without BodyTriSetC Warning: cannot access verticies reference to BodyTriSetC set on insertion using TriSetC::PutElement()

TriC(const TriC & t)
Copy Constructor

const TriC operator=(const TriC & t)
Assignment Copies reference pointer to BodyTriSetC --------------------------------------- Operations

BooleanT IsValid() const
test if this TriC is valid ie not created by default constructor (default constructor is required for array)

IntT Index(const IntT i) const
vertex index 0,1,2 Vector3dC Normal(const TriSetC& tris) const; Unit normal orthogonal to triangle plane

BooleanT Bound() const

BooleanT & Bound()
set/get boundary info. for element Always FALSE unless TriSetC.SetupBound() is called

Vector3dC Vertex(const IntT i) const
vertex 0,1,2

Vector3dC Normal() const
Unit normal orthogonal to triangle plane

Vector3dC VertexNormal(const IntT i) const
vertex normal 0,1,2

RealT EdgeLength(const IntT i,const IntT j) const
Edge lenght vertex i to vertex j i,j=[0,1,2]

RealT MinimumEdgeLength() const
Minimum lenght of 'this' triangle edges

RealT MaximumEdgeLength() const
Maximum lenght of 'this' triangle edges TriNearestPointC NearestPoint(TriSetC& t,const Vector3dC v);

TriNearestPointC NearestPoint(const Vector3dC v) const
nearest point on element

void SetBodyTriSet(BodyTriSetC & ts)
set the pointer to BodyTriSetC for this TriC use to change pointer when moving TriC between BodyTriSetC's or when BodyTriSetC is not set on construction

BodyTriSetC & BodyTriSet() const
access to triset to which this tri belongs for safety should always test if it's valid IsValid()


Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001