Struct plane_split::LineProjection
[−]
[src]
pub struct LineProjection<T> { pub markers: [T; 4], }
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]
T: Copy + PartialOrd + Sub<T, Output = T> + Add<T, Output = T>,
pub fn get_bounds(&self) -> (T, T)
[src]
Get the min/max of the line projection markers.
pub fn intersect(&self, other: &Self) -> bool
[src]
Check intersection with another line projection.
Trait Implementations
Auto Trait Implementations
impl<T> Send for LineProjection<T> where
T: Send,
T: Send,
impl<T> Sync for LineProjection<T> where
T: Sync,
T: Sync,