 |
PK_boolean_r_t |
|
struct PK_boolean_r_s
{
PK_boolean_result_t result;
int n_bodies;
PK_BODY_t *bodies;
int n_reports;
PK_boolean_report_r_t *reports;
};
typedef struct PK_boolean_r_s PK_boolean_r_t;
This data structure contains operation status and the boolean
results.
Used in:
PK_BODY_boolean_2
PK_boolean_r_f
PK_FACE_boolean_2
Description of fields:
'result' This status field indicates the overall state of
the boolean operation.
'n_bodies' The length of the 'bodies' array.
'bodies' The array of resultant bodies from the boolean operation. If
the 'result' field is set to PK_boolean_result_failed_c, the
array will be set to null.
'n_reports' The number of boolean reports in the 'reports' array.
'reports' This array may contain supplementary information regarding
the outcome of the boolean operation. For example, if the
operation failed, the reports may contain topology related
to the failure.
Destroying the returned data structure
When the application wishes to free the memory associated
with the results structure, the function 'PK_boolean_r_f'
must be used.