pub struct Line {
pub point: Point,
pub direction: Vector3,
}
Expand description
An arbitrary point on the line.
The direction of the line.
Construct a line from a point on the line and its direction.
Construct a line from two points on the line.
Formats the value using the given formatter. Read more
Returns the distance between the line and a given point.
Returns the distance between the line and a given point.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.