HC_DCompute_Selection_By_Key

int HC_DCompute_Selection_By_Key(char const *action, char const *start_seg, Key key, double const matrix[])
int HC_DCompute_Selection_By_Key(char const action, char const start_seg, Key key, double const matrix)

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 somewhere in the tree belonging to a display driver, at which point it would be good to start selection testing.

key: Key to the Shell that should be used for testing.

matrix: A transformation matrix that should be applied to the shell before performing the selection.

Returns

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