PK_GEOM_delete_single   

PK_ERROR_code_t PK_GEOM_delete_single
(
--- received arguments ---
PK_GEOM_t       geom      --- geometry to delete
)


This function deletes a single geometric entity


Specific Errors:
    PK_ERROR_still_referenced      sharing prevents deletion of geometry
    PK_ERROR_is_attached           geometry is attached to topology


A geometric entity is deleted, without deleting any of its dependents.
For example, deleting an offset surface will leave the underlying surface
intact.

If the geometric entity is an SP-curve, it and the underlying 2D B-curve will
be deleted, leaving just the surface.

A geometric entity cannot be deleted if it is a dependent of another
geometric entity or if it is attached to topology.