|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
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'.
|
Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|