HC_DCompute_Optimized_Shell
-
void
HC_DCompute_Optimized_Shell(int pcount, DPoint const points[], Vector const normals[], int flist_length, int const face_list[], char const *options, int *new_pcount, DPoint new_points[], int *new_flist_length, int new_face_list[], int point_mapping_list[], int face_mapping_list[]) - void HC_DCompute_Optimized_Shell(int pcount, DPoint const points, Vector const normals, int flist_length, int const face_list, char const options, int new_pcount, DPoint new_points, int new_flist_length, int new_face_list, int point_mapping_list, int face_mapping_list)
Similar to Compute_Optimized_Shell(), but computes and returns double-precision values.
HC_Compute_Optimized_Shell().Parameters
pcount: Number of valid points in points.
points: Vector of x-y-z triplets for the coordinates of the vertices that could be used to build the shell. (A simple N = 3 array can also be used.) Passed by reference always.
normals: Sequential list of vertex normals, x-y-z triplets. It is legal to pass NULL for this parameter, in which case normal information will be ignored. If non-NULL, however, the normals are assumed to be normalized to length 1. Passed by reference always.
flist_length: Total number of integers in face_list.
face_list: Encoded description of how to connect the points to build the faces of the shell. Passed by reference always.
options: A quoted string or a string variable containing a list of desired options. Passed by reference always.
new_pcount: Number of valid points in new_points after computation. Returned to caller. Passed by reference always.
new_points: Vector of x-y-z triplets for the coordinates of the non-redundant vertices that could be used to build the shell. (A simple N = 3 array can also be used.) Returned to caller. Passed by reference always.
new_flist_length: Total number of integers in computed new_face_list. Returned to caller. Passed by reference always.
new_face_list: Encoded description of how to connect the points to build the faces of the computed shell. Returned to caller. Passed by reference always.
point_mapping_list: Mapping of vertices from the original point list to the vertices in the new (computed) point list. In other words, for each old vertex i, point_mapping_list[i] represents the vertex in the new shell to which it has moved. Eliminated points are mapped to -1. Returned to caller. Passed by reference always.
face_mapping_list: Mapping of faces from the original face list to the new (computed) face list. In other words, for each old face j, face_mapping_list[j] represents the vertex in the new shell to which it has moved. Eliminated faces are mapped to -1. Returned to caller. Passed by reference always.