HC_Compute_Triangulation
-
void
HC_Compute_Triangulation(Point const points[], int flist_length, int const face_list[], int *tlist_length, int triangle_list[]) - void HC_Compute_Triangulation(Point const points, int flist_length, int const face_list, int tlist_length, int triangle_list)
Provides a triangle based tesselation of a HOOPS Shell which can contain facets which have more than 3 edges.
The face_list consists of n-tuples where the first number specifies the number of verticies in the tuple, followed by indicies into the points array.
The triangle_list is similar to face_list, except that all of the tuples will begin with three (3).
HC_Insert_Shell_By_Tristrips, HC_Show_Shell_By_TristripsParameters
points: Vector of x-y-z triplets for the coordinates of the vertices to be triangulated. (A simple N x 3 array may also be used.) Passed by reference always.
flist_length: Total number of integers in face_list.
face_list: - Zero-based, encoded description of how to connect the points to build the faces of a shell.
tlist_length: Total number of integers in triangle_list. This will be zero if the faces are invalid. Passed by reference. Returned to user.
triangle_list: Zero-based, encoded description of how to connect the points to build the faces of a shell. Passed by reference always. Returned to user.