|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
-----------------------------------------------------
Static mesh of polygons
Mesh consists of interconnected nodes and elements
Variables:
Methods:
- MeshC()
-
Empty mesh
- MeshC(char * filename)
-
Construct mesh from filename .tri
- MeshC(PolopsC & p)
-
- ~MeshC()
-
Destruct
Access
------
- IntT Size()
-
Number of mesh verticies
- MeshNodeC & Node(const IntT i)
-
Get the ith mesh node
- MeshElemC & Elem(const IntT i)
-
Get the ith mesh element
- VectorSetC & VectorSet()
-
Get a VectorSet of mesh node positions
Operations
----------
- void NearestSetup()
-
Setup nearest neighbour computation
Uses a hash table uniform spatial subdivision of
size = first edge length
- void NearestSetup(RealT s)
-
Setup nearest neighbour computation
Uses a hash table uniform spatial subdivision with cube size s
- MeshNearestPointT NearestNode(const Vector3dC & v)
-
Nearest node on the mesh to v
- MeshNearestPointT NearestPoint(const Vector3dC & v)
-
Nearest point on the mesh to v
- void Print()
-
output
|
Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|