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>,
fn get_bounds(&self) -> (T, T)
Get the min/max of the line projection markers.
fn intersect(&self, other: &Self) -> bool
Check intersection with another line projection.