Mesh Library - VertexList
Double linked list of vertices
Methods
- void VertexListConstruct( Solid ** s,int number, FILE *off);
Construct vertexlist from a off format file, store the list in solid s.
number means the number of vertices.
- void VertexListConstructNoff(Solid ** s,int number ,FILE * noff);
Construct vertexlist from a noff format file, store the list in solid s.
number means the number of vertices.
- void VertexListDestruct( Solid ** );
Desctruct vertex list
- Vertex *VertexListIndex(Solid * S,int Id);
Given Id of a vertex, return the vertex in the list. There is no hash table,
so this procedure is inefficient. For large mesh file input, almost all time
is spending in this procedure.