HC_DCompute_Selection_Dist_By_S
-
double
HC_DCompute_Selection_Dist_By_S(char const *action, char const *start_segment, int pcount, DPoint const points[], int flist_length, int const faces[], char const *options) - double HC_DCompute_Selection_Dist_By_S(char const action, char const start_segment, int pcount, DPoint const points, int flist_length, int const faces, char const options)
Similar to Compute_Selection_Distance_By_Shell(), but operates on double-precision data.
Parameters
action: - One of “v”, “^”, “*”, or “O”. Action is compared against the selectability attribute settings as testing proceeds. See Set_Selectability() for a detailed explanation of actions.
start_seg: A segment in the tree at which to start selection testing.
pcount: Number of points contained in the points list.
points: Set of points that comprise the polyline or polygon used to compute the selection.
flist_length: The length of the face_list.
face_list: As described in the documentation of Insert_Shell() , An encoded description of how triangles should be combined to form faces, and the assignment of face identifiers.
options: A string containing a set of options to be applied to this distance calculation.
Returns
value The distance from the object in the specified segment hierarchy to the provided shell. If nothing is found within the defined distance, -1 will be returned.