Trait SplitEdge

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

Split a pair of HalfEdges into two

Required Methods§

Source

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

Split the provided HalfEdge, as well as its sibling, into two

§Panics

Panics, if the provided half-edge is not a part of this shell.

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§