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

  PUBLIC
SurfaceEdgeC::SurfaceEdgeC(SurfaceC &)
SurfaceEdgeC::Node1(void)
SurfaceEdgeC::Node2(void)
SurfaceEdgeC::Node1Adj(void)
SurfaceEdgeC::Node2Adj(void)
SurfaceEdgeC::Reverse(void)
SurfaceEdgeC::IsBound(void)
SurfaceEdgeC::Bound(void)
SurfaceEdgeC::Node1BoundAdj(void)
SurfaceEdgeC::Node2BoundAdj(void)
SurfaceEdgeC::Length(void)
SurfaceEdgeC::Equal(const SurfaceEdgeC &) const
SurfaceEdgeC::NearestPoint(const Vector3dC &)
SurfaceEdgeC::Print(SurfaceC &)
SurfaceEdgeC::SurfaceEdgeC(void)
SurfaceEdgeC::LateItemSet(SurfaceC &)
SurfaceEdgeC::LateItemSet(const SurfaceEdgeC &)
SurfaceEdgeC::SurfaceEdgeC(GraphEdgeC)
SurfaceEdgeC
 
include "amma/SurfEdge.hh"
User Level:Default
Library:surf
Example: cri.cc
Section:default.Adrian Hilton
In Scope:std

Comments:
============================================================ Surface Edge Class Interface to graph edge iterator

Parent Classes: Methods:
SurfaceEdgeC(SurfaceC & s)
constructor Inherited functionality from GraphEdgeC

SurfaceNodeC Node1()
First edge node

SurfaceNodeC Node2()
Second edge node

SurfaceAdjC Node1Adj()
First edge node adjacency

SurfaceAdjC Node2Adj()
Second edge node adjacency

void Reverse()
Reverse the direction of the edge Node1<-> Node2 (Redirect) & label edge as on boundary

int IsBound()
Is edge on the surface boundary

void Bound()
Label edge as on surface boundary

SurfaceAdjC Node1BoundAdj()

SurfaceAdjC Node2BoundAdj()
boundary adjacency other boundary edges adjacent to nodes 1&2 this edge must be on boundary

RealT Length()
Euclidean distance between edge node position vectors (Node2() - Node1())

int Equal(const SurfaceEdgeC & i) const
Test if edges are the same

SurfaceNearestPointT NearestPoint(const Vector3dC & v)
Nearest point on edge to v

void Print(SurfaceC & surface)
print this edge + adjacent edge nodes Array item constructors. ------------------------ ATTENTION! The following member functions can be used only for initialization of arrays. This constructor is provided because of trouble with an array of objects. The present ANSI C++ does not enable to pass any constructor of array elements different from a defaut constructor. The extension of GNU g++ compiler is not supported by other compiler. The constructor should be used only for such purposes. If this limitation of C++ is removed, the constructor will be obsolete.

SurfaceEdgeC()
constructor

void LateItemSet(SurfaceC & surface)
Sets the unvalid surface edge iterator. The iterator will point to the first edge in the edge list of the 'surface'.

void LateItemSet(const SurfaceEdgeC & edge)
Sets the unvalid edge iterator to be the copy of the iterator 'edge'.

SurfaceEdgeC(GraphEdgeC i)
copy constructor


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