PK_BODY_share_geom   

PK_ERROR_code_t PK_BODY_share_geom
(
--- received arguments ---
PK_BODY_t       body,        --- body on which to attempt sharing
PK_LOGICAL_t    icurve_only, --- only process intersection curves

--- returned arguments ---
int      *const n_geoms      --- number of geometries removed
)


This function attempts to reduce the size of a part by sharing geometry.


It is primarily intended for use on pre-V5 bodies.

The function seeks to remove any duplicate curves and surfaces.  Duplicate
curves or surfaces are of the same class and are spatially and parametrically
coincident.

If 'icurve_only' is set to PK_LOGICAL_true then only intersection curves
are considered for sharing.