PK_PART_add_geoms   

PK_ERROR_code_t  PK_PART_add_geoms
(
--- received arguments ---
PK_PART_t        part,       --- part to have geoms added
int              n_geoms,    --- number of geoms
const PK_GEOM_t  geoms[]     --- geoms to be added to part

--- returned arguments ---
)


This function adds the given geometry to the part's construction geometry.


Specific Errors:
    PK_ERROR_not_in_partition    (MILD)    'part' and 'geoms' are in different
                                           partitions
    PK_ERROR_wrong_entity        (MILD)    'geom' is not a lattice, surface,
                                           curve or point
    PK_ERROR_has_parent          (SERIOUS) 'geom' is already attached
    PK_ERROR_bad_shared_dep      (SERIOUS) attempt to illegally share a
                                           dependant of 'geom'
    PK_ERROR_bad_shared_entity   (SERIOUS) attempt to illegally share 'geom'
    PK_ERROR_child_body          (MILD)    'part' is a child body


For a geometric entity to be added to a part neither the entity nor
any of its dependents may belong to another topological entity.
Also neither the entity nor any of its dependents can be shared with
another orphan entity.