
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) |
| Tests whether a given point is on the surface of a shell. More... | |
| 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. More... | |
| 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() ). |
Compute_Point_On_Shell returns true if test_point is on the surface of the shell, and false otherwise.
Models that use non-planar faces may also cause this function to generate incorrect results.
| 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() ). |