HC_Compute_Point_Inside_Shell

bool HC_Compute_Point_Inside_Shell(Point const *test_point, int point_count, Point const points[], int face_list_length, int const face_list[])
bool HC_Compute_Point_Inside_Shell(Point const test_point, int point_count, Point const points, int face_list_length, int const face_list)

Tests whether a given point is inside a shell, which is assumed to be a closed surface.

HC_Insert_Shell, HC_Show_Shell, HC_Compute_Selection_By_Shell

Parameters

test_point: point to test. passed by reference.

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() ).

Returns

success