PK_ERROR_code_t PK_FACE_make_sheet_body
(
--- received arguments ---
int n_faces, --- number of faces
const PK_FACE_t faces[], --- array of faces
--- returned arguments ---
PK_BODY_t *const body --- sheet body
)
This function creates a sheet body from a collection of faces.
Specific Errors:
PK_ERROR_not_in_same_part faces not all from same body
PK_ERROR_missing_geom some face does not have a surface
PK_ERROR_non_manifold faces would only make a disconnected or
general body
The geometry, topology and associated data of the faces is copied into a
new sheet body. The given faces must belong to the same body and must form
a single connected set which results in a valid sheet. Every face must have a
surface attached.