PK_EDGE_euler_delete_with_loop   


PK_ERROR_code_t PK_EDGE_euler_delete_with_loop
(
--- received arguments ---
PK_EDGE_t       edge,   --- Edge to be deleted
PK_LOGICAL_t    on_left --- Loop to delete is on left of edge
)


This function deletes an edge and merges loops of the same face into one.


Specific Errors:
    PK_ERROR_edge_not_manifold      edge is not manifold
    PK_ERROR_edge_is_ring           edge is ring
    PK_ERROR_bad_edge               edge is not a biwire


This function deletes an edge and a loop. If on_left is PK_LOGICAL_true then
the loop to the left of edge will be deleted otherwise the loop on the right
will be deleted.

edge must have the same face on each side but different loops.

Any geometry attached to edge will be deleted and the resulting body will
normally be invalid.

The inverse of this function is PK_LOOP_euler_make_edge_loop.