Functions | |
void | Compute_Points_Inside_Shell (int test_point_count, const HC_POINT *test_points, const HC_POINT *test_points_vectors, int point_count, const HC_POINT *points, int face_list_length, const int *face_list, const char *options, int *results) |
void Compute_Points_Inside_Shell | ( | int | test_point_count, | |
const HC_POINT * | test_points, | |||
const HC_POINT * | test_points_vectors, | |||
int | point_count, | |||
const HC_POINT * | points, | |||
int | face_list_length, | |||
const int * | face_list, | |||
const char * | options, | |||
int * | results | |||
) |
Tests whether a given set of points reside within, on, or outside the volume defined by a shell.
test_point_count | - Number of points in the point cloud. | |
test_points | - Array of x-y-z triplets defining the points to be tested. | |
test_points_vectors | - Array of x-y-z triplets, one for each test point. These are the surface normals of the parametric surface that the points belong to (if applicable). If not applicable, pass null. | |
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() ). | |
options | - A quoted string or a string variable containing a list of desired options. Passed by reference always. | |
results | - Array of size test_point_count that specifies whether the point contained at that index within test_points is inside, on, or outside the given shell. Passed by reference. Returned to user. |
The supported options are:
Models that use non-planar faces may cause this function to generate incorrect results.