Enum binary_space_partition::PlaneCut [] [src]

pub enum PlaneCut<T> {
    Sibling(T),
    Cut {
        front: Vec<T>,
        back: Vec<T>,
    },
}

The result of one plane being cut by another one. The "cut" here is an attempt to classify a plane as being in front or in the back of another one.

Variants

The planes are one the same geometrical plane.

Planes are different, thus we can either determine that our plane is completely in front/back of another one, or split it into these sub-groups.

Fields of Cut

Sub-planes in front of the base plane.

Sub-planes in the back of the base plane.

Trait Implementations

impl<T: Debug> Debug for PlaneCut<T>
[src]

Formats the value using the given formatter.