 |
PK_pattern_cb_f_t |
|
typedef void (*PK_pattern_cb_f_t)
(
--- received arguments ---
int n_receive_positions,
--- number of positions
const PK_VECTOR_t receive_positions[],
--- received positions
void *data, --- external data
--- returned arguments ---
PK_pattern_cb_status_t *const status, --- callback status
PK_VECTOR_t return_positions[],
--- returned positions
const PK_pattern_cb_o_t *returns --- callback option
--- structure
);
This is a type definition for an external function to be used by Parasolid to
deform patterned positions. The function itself is provided by the application.
Used in:
PK_pattern_callback_t
'n_receive_positions' is equal to the number of elements in
'receive_positions' and 'return_positions'. 'receive_positions' contains
the pre-mapped positions. 'data' is used to communicate between the application
and its supplied callback function. 'status' reports the status of the external
function. 'return_positions' contains the resultant mapped positions. 'returns'
is a structure for further return information from the external function.