|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
-------------------------------------------------------------------------
-------------------------------------------------------------------------
Remember that KList is a BIG object when using copy cons & = on VTVertexC
-------------------------------------------------------------------------
Markers
-------
A vertex, an edge and a face each have an integer id that can be used
by the user. A face also has a byte called used.
VTRingC: "VTFaceC.used" is never used.
All 3 id's are used only by Print(), various Renumber*() and
for debug printouts
"VTVertexC.id" is used by
RenumberVerts()
SaveTri(), VTRingToPol
VTBoundC: "VTVertexC.id" is used by SaveTri()
//"VTEdgeC.id" is used by Print()
"VTFaceC.id" must be set to 0..ntfaces-1
VTBackTrackC: as for VTBoundC
"VTFaceC.id" is set to 0..ntfaces-1
-------------------------------------------------------------------------
Variables:
- int id;
-
- Vector3dC vector;
-
- KListC ptris;
-
list of triangles using this vertex
- void * ptr;
-
Methods:
- VTVertexC()
-
- VTVertexC(Vector3dC v)
-
- VTVertexC(const VTVertexC & vert)
-
- VTVertexC & operator=(const VTVertexC & vert)
-
- ~VTVertexC()
-
- void WriteVector(ofstream & of)
-
It is desirable to use slightly higher accuracy to output vectors
we use 8 decimal places rather than the 6 of Vector3dC
|
Programmer:Andrew Stoddart, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|