Functions | |
HC_BOOLEAN | Compute_Point_On_Shell (const HC_POINT *test_point, double tolerance, int point_count, const HC_POINT *points, int face_list_length, const int *face_list) |
HC_BOOLEAN | DCompute_Point_On_Shell (const HC_DPOINT *test_point, double tolerance, int point_count, const HC_DPOINT *points, int face_list_length, const int *face_list) |
HC_BOOLEAN Compute_Point_On_Shell | ( | const HC_POINT * | test_point, | |
double | tolerance, | |||
int | point_count, | |||
const HC_POINT * | points, | |||
int | face_list_length, | |||
const int * | face_list | |||
) |
Tests whether a given point is on the surface of a shell.
test_point | - point to test. Passed by reference. | |
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 point | |
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 that defines 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() ). |
HC_BOOLEAN DCompute_Point_On_Shell | ( | const HC_DPOINT * | test_point, | |
double | tolerance, | |||
int | point_count, | |||
const HC_DPOINT * | points, | |||
int | face_list_length, | |||
const int * | face_list | |||
) |
Similar to Compute_Point_On_Shell, but operates on double-precision data.
test_point | - point to test. Passed by reference. | |
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 point | |
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 that defines 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() ). |