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

  PUBLIC
MeshElemC::MeshElemC(void)
MeshElemC::~MeshElemC(void)
MeshElemC::SetIndex(const IntT)
MeshElemC::Index(void)
MeshElemC::IsBound(void)
MeshElemC::Normal(void)
MeshElemC::NearestPoint(const Vector3dC &)
MeshElemC::InsNode(MeshNodeC *)
MeshElemC::InsElem(MeshElemC *)
MeshElemC::Nodes(void)
MeshElemC::Elems(void)
MeshElemC::GetLocal(void)
MeshElemC::Proj(const Vector3dC &)
MeshElemC::ProjGlobal(const Point2dC &)
MeshElemC::ProjLocal(const Vector3dC &)
MeshElemC::IsInside(const Vector3dC &)
MeshElemC
 
include "amma/Mesh.hh"
User Level:Default
Library:mesh
Example: cri.cc
Section:default.Adrian Hilton
In Scope:std

Comments:
----------------------------------------------------- Mesh polygonal element Consists of N nodes

Variables:
IntT index;

DListC nodes;
polygon nodes ccw order

DListC elems;
elems (unordered) DListC edges; // polygon edges unordered MeshElemProjC local; OrthoProjection3to2dC local; local 2D projection

int local_set;
flag local coordinates setup

Methods:
MeshElemC()

~MeshElemC()
destruct Access to Element Data ----------------------

void SetIndex(const IntT i)
Setup element index

IntT Index()
Get element index Operations ----------

BooleanT IsBound()
Test if the element is on the mesh boundary

Vector3dC Normal()
Evaluate the element normal Normal direction from ccw node ordering

MeshNearestPointT NearestPoint(const Vector3dC & v)
nearest point on element to vector v

void InsNode(MeshNodeC * node)
Insert pointer to element node (ccw order)

void InsElem(MeshElemC * elem)
Insert pointer to an adjacent element

DListC<MeshNodeC *> & Nodes()
Get a list of pointers to element nodes

DListC<MeshElemC *> & Elems()
Get a list of pointers to adjacent elements LOCAL COORDINATE FRAME

MeshElemProjC GetLocal()
Compute local coordinates void SetLocal(); store local coordinates

Vector3dC Proj(const Vector3dC & point)

Vector3dC ProjGlobal(const Point2dC & point)

Point2dC ProjLocal(const Vector3dC & p)

IntT IsInside(const Vector3dC & v)


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