HC_DCompute_Points_On_Shell
-
int
HC_DCompute_Points_On_Shell(int test_point_count, DPoint const test_points[], double tolerance, int point_count, DPoint const points[], int face_list_length, int const face_list[], int results[]) - int HC_DCompute_Points_On_Shell(int test_point_count, DPoint const test_points, double tolerance, int point_count, DPoint const points, int face_list_length, int const face_list, int results)
Similar to Compute_Points_On_Shell, but operates on double-precision data.
Parameters
test_point_count: Number of points in the point cloud.
test_points: Vector of x-y-z triplets defining the points to be tested.
tolerance: Distance from shell, in object space, inside which a point will be considered to be on the shell.
point_count: - Number of points in the shell that may enclose the points defined in test_points
points: Vector of x-y-z triplets for the coordinates of the vertices to be used to build the shell. (A simple N x 3 array may also be used). Passed by reference always.
face_list_length: - Size of the array of integers which define the faces in face_list.
face_list: Encoded description of how to connect the points to build the faces of the shell (see Insert_Shell() ).
results: - Array of size test_point_count that specifies whether the point contained at that index within test_points is within the given tolerance of the face of the shell. Passed by reference. Returned to user.
Returns
count - The number of points, within the given tolerance, that were on the surface of the shell.