SplitHalfEdge

Trait SplitHalfEdge 

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§