Struct plane_split::Line [] [src]

pub struct Line<T, U> {
    pub origin: TypedPoint3D<T, U>,
    pub dir: TypedPoint3D<T, U>,
}

A generic line.

Fields

Arbitrary point on the line.

Normalized direction of the line.

Methods

impl<T, U> Line<T, U> where
    T: Copy + One + Zero + ApproxEq<T> + Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T>, 
[src]

Check if the line has consistent parameters.

Check if two lines match each other.

Trait Implementations

impl<T: Debug, U: Debug> Debug for Line<T, U>
[src]

Formats the value using the given formatter.