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

  PUBLIC
MeshEdgeC::MeshEdgeC(void)
MeshEdgeC::MeshEdgeC(MeshNodeC *,MeshNodeC *)
MeshEdgeC::~MeshEdgeC(void)
MeshEdgeC::Node1(void)
MeshEdgeC::Node2(void)
MeshEdgeC::IsBound(void)
MeshEdgeC::IsEqual(MeshEdgeC &)
MeshEdgeC::NearestPoint(const Vector3dC &)
MeshEdgeC::SetLocal(void)
MeshEdgeC::Proj(const Vector3dC &)
MeshEdgeC::ProjGlobal(const RealT &)
MeshEdgeC::ProjLocal(const Vector3dC &)
MeshEdgeC::IsInside(const Vector3dC &)
MeshEdgeC
 
include "amma/Mesh.hh"
User Level:Default
Library:mesh
Example: cri.cc
Section:default.Adrian Hilton
In Scope:std

Comments:
----------------------------------------------------- MeshEdgeC represents an edge in the polgonal mesh MeshC An edge consist of pointers to two nodes

Variables:
OrthoProjection3to1dC local;
local 1D projection

int local_set;
flag local coordinates setup

Methods:
MeshEdgeC()
Empty edge

MeshEdgeC(MeshNodeC * node1,MeshNodeC * node2)

~MeshEdgeC()
Destruct edge Access to Edge Data -------------------

MeshNodeC * Node1()
Pointer to 1st edge node

MeshNodeC * Node2()
Pointer to 2nd edge node Operations on Edge ------------------

BooleanT IsBound()
Test if edge is on bounary 0(Nelem^2) operations - worst case

IntT IsEqual(MeshEdgeC & edge)
is this edge equal to edge e (undirected)

Vector3dC NearestPoint(const Vector3dC & v)
Position of nearest point on edge to vector v

void SetLocal()
Setup local coordinates

Vector3dC Proj(const Vector3dC & v)

Vector3dC ProjGlobal(const RealT & v)

RealT ProjLocal(const Vector3dC & point)

IntT IsInside(const Vector3dC & v)


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