Struct plane_split::LineProjection [−][src]
The projection of a Polygon on a line.
Fields
markers: [T; 4]
Projected value of each point in the polygon.
Methods
impl<T> LineProjection<T> where
T: Copy + PartialOrd + Sub<T, Output = T> + Add<T, Output = T>, [src]
impl<T> LineProjection<T> where
T: Copy + PartialOrd + Sub<T, Output = T> + Add<T, Output = T>, pub fn get_bounds(&self) -> (T, T)[src]
pub fn get_bounds(&self) -> (T, T)Get the min/max of the line projection markers.
pub fn intersect(&self, other: &Self) -> bool[src]
pub fn intersect(&self, other: &Self) -> boolCheck intersection with another line projection.
Auto Trait Implementations
impl<T> Send for LineProjection<T> where
T: Send,
impl<T> Send for LineProjection<T> where
T: Send, impl<T> Sync for LineProjection<T> where
T: Sync,
impl<T> Sync for LineProjection<T> where
T: Sync,