pub trait SplitHalfEdge {
    // Required method
    fn split_half_edge(
        &self,
        point: impl Into<Point<1>>,
        core: &mut Core
    ) -> [Handle<HalfEdge>; 2];
}
Expand description

Split a HalfEdge into two

This is a low-level operation that, by itself, leaves the containing shell in an invalid state. You probably want to use SplitEdge instead.

Required Methods§

source

fn split_half_edge( &self, point: impl Into<Point<1>>, core: &mut Core ) -> [Handle<HalfEdge>; 2]

Split the half-edge into two

§Validity

Within a valid shell, a HalfEdge must have an equal but opposite sibling. This operation only splits a single half-edge, which in itself will make a valid shell invalid.

The caller is responsible for also split this half-edge’s sibling, if appropriate, to preserve validity.

Object Safety§

This trait is not object safe.

Implementors§