 |
PK_BODY_create_sheet_topology |
|
PK_ERROR_code_t PK_BODY_create_sheet_topology
(
--- received arguments ---
int n_topols, --- number of topols
const PK_CLASS_t classes[], --- class of each topol
int n_relations, --- number of relations
const int parents[], --- parents
const int children[], --- children
const PK_TOPOL_sense_t senses[], --- sense in which child used by parent
--- returned arguments ---
PK_BODY_t *const body, --- created body
PK_TOPOL_t *const topols, --- created topols
PK_BODY_fault_t *const fault, --- fault indicator
int *const fault_index --- index of fault topol
)
This function creates the topology of a sheet body.
NOTE: This function is deprecated and has been superseded by
PK_BODY_create_topology_2.
Specific Errors:
PK_ERROR_bad_class bad class in 'classes' array
PK_ERROR_bad_value a value in 'parents' or 'children' array
is not a valid index to 'classes' array
Please refer to the documentation of PK_BODY_create_solid_topology.
This function is the same as PK_BODY_create_solid_topology with the exceptions
that the result is a sheet body and the body must have just a single shell.