LineSegment3

Type Alias LineSegment3 

Source
pub type LineSegment3<T> = LineSegment<T, 3>;
Expand description

Line segment in three dimensions

Aliased Type§

pub struct LineSegment3<T> {
    pub start: Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>,
    pub end: Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>,
}

Fields§

§start: Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>

One end of the line segment, the point returned when interpolating at t = 0.0

§end: Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>

One end of the line segment, the point returned when interpolating at t = 1.0