Enum plane_split::Intersection [−][src]
pub enum Intersection<T> { Coplanar, Outside, Inside(T), }
Polygon intersection results.
Variants
Coplanar
Polygons are coplanar, including the case of being on the same plane.
Outside
Polygon planes are intersecting, but polygons are not.
Inside(T)
Polygons are actually intersecting.
Methods
impl<T> Intersection<T>
[src]
impl<T> Intersection<T>
pub fn is_outside(&self) -> bool
[src]
pub fn is_outside(&self) -> bool
Return true if the intersection is completely outside.
pub fn is_inside(&self) -> bool
[src]
pub fn is_inside(&self) -> bool
Return true if the intersection cuts the source polygon.
Auto Trait Implementations
impl<T> Send for Intersection<T> where
T: Send,
impl<T> Send for Intersection<T> where
T: Send,
impl<T> Sync for Intersection<T> where
T: Sync,
impl<T> Sync for Intersection<T> where
T: Sync,