HC_Compute_Selection_By_Swept_2

int HC_Compute_Selection_By_Swept_2(char const *action, char const *start_seg, Key shellkey, int sweepcount, float const matrices[], char const *options, float bounding_box[])
int HC_Compute_Selection_By_Swept_2(char const action, char const start_seg, Key shellkey, int sweepcount, float const matrices, char const options, float bounding_box)

Similar to Compute_Selection_By_Swept_Shell(), but takes an extra parameter which receives a bounding box of the collision volume.

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: - A bounding box of the collision volume, in the form of an array of six floats: (minx, miny, minz, maxx, maxy, maxz). Returned to user.

Returns

count The number of objects that are touched by any part of the specified geometry.