 |
PK_EDGE_delete |
|
PK_ERROR_code_t PK_EDGE_delete
(
--- received arguments ---
int n_edges, --- number of edges
const PK_EDGE_t edges[], --- edges to be deleted
const PK_EDGE_delete_o_t *options, --- options structure
--- returned arguments ---
PK_TOPOL_track_r_t *const tracking, --- tracking information
PK_TOPOL_local_r_t *const results --- status information
)
This function deletes the given set of edges.
This function does not support facet geometry [NF]
Specific Errors:
PK_ERROR_cant_heal_wound (SERIOUS) can't heal wound - impossible
geometry
PK_ERROR_not_implemented (MILD) edge is not laminar or wire or
redundant
The edges should be laminar, wire, or redundant, and must all be from the same
body. The edges are deleted from the body, along with any vertices which
thereby cease to have adjacent edges. Any gaps left behind by the delete
operation are healed by growing adjacent edges. If the set of edges contains
any complete loops then they will be removed from the body. For wire and
redundant edges the healing is limited to situations where the gaps are bounded
by vertices at which there is only one surviving edge.
If the body is non-manifold then the edges may not be wires and the faces
adjacent to the edges must not divide regions - the shells to the back and
to the front of each face must be the same.