PK_DEBUG_BODY_extract_data   


PK_ERROR_code_t                     PK_DEBUG_BODY_extract_data
(
--- received arguments ---
PK_BODY_t                           body,       --- body

--- returned arguments ---
PK_DEBUG_data_t              *const data        --- saved data
)


This function extracts any additional data which has been associated with
the body.


Specific Errors:
    PK_ERROR_no_data             There is no additional data associated
                                 with the body.
    PK_ERROR_bad_type            The body is not a minimal body


This function intended for use on bodies with associated debug information,
which have already been received into Parasolid using the alternative
route of PK_PART_receive.

If no debug data has been associated with the body, the function will return
PK_ERROR_no_data.

If data has been saved, then the structure data will be filled as follows:
If geometric data has been saved with the body, is_geom_array will be set to
PK_LOGICAL_true and the geometry will be returned in geom_array.
If trim data has been saved with the body, is_trim_data will be set to
PK_LOGICAL_true and a surface will be returned in geom_array with its
trimming data returned in trim_data.