PK_BODY_ask_faces   


PK_ERROR_code_t   PK_BODY_ask_faces
(
--- received arguments ---
PK_BODY_t         body,             --- a body

--- returned arguments ---
int        *const n_faces,          --- number of faces (>= 0)
PK_FACE_t **const faces             --- faces (optional)
)


This function returns the set of faces in the given body.


For solids which were created using the primitive creation functions the
faces are returned in a standard order. For general solids the ordering
is not significant and may change without notice in future product releases.

The output array faces is optional. If it is set to NULL, the function
will only compute the number of faces in the body.