binary_space_partition

Trait Plane

Source
pub trait Plane: Sized + Clone {
    // Required methods
    fn cut(&self, _: Self) -> PlaneCut<Self>;
    fn is_aligned(&self, _: &Self) -> bool;
}
Expand description

A plane abstracted to the matter of partitioning.

Required Methods§

Source

fn cut(&self, _: Self) -> PlaneCut<Self>

Try to cut a different plane by this one.

Source

fn is_aligned(&self, _: &Self) -> bool

Check if a different plane is aligned in the same direction as this one.

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§