HC_DCompute_Selection_By_Swpt_2
-
int
HC_DCompute_Selection_By_Swpt_2(char const *action, char const *start_seg, Key shellkey, int sweepcount, double const matrices[], char const *options, double bounding_box[]) - int HC_DCompute_Selection_By_Swpt_2(char const action, char const start_seg, Key shellkey, int sweepcount, double const matrices, char const options, double bounding_box)
Similar to Compute_Selection_By_Swept_Shell2(), 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.
shellkey: Key to the shell that should be used for testing.
number_of_sweeps: The number of distinct steps in the sweep.
matrices: An array of matrices with each matrix having its own distinct 4x4 matrix.
options: A string through which a user can set options that affect the sweep.
bounding_box: - The collision volume to select against, in the form of an array of six doubles: (minx, miny, minz, maxx, maxy, maxz).
Returns
count
- The number of objects that are touched by any part of the specified geometry.