pub struct Line {
    pub point: Point,
    pub direction: Vector3,
}
Expand description

An infinite line.

Fields

point: Point

An arbitrary point on the line.

direction: Vector3

The direction of the line.

Implementations

Construct a line from a point on the line and its direction.

Construct a line from two points on the line.

Trait Implementations

The closest point to another object

The closest point to another object

The closest point to another object

The closest point to another object

The closest point to another object

Formats the value using the given formatter. Read more

The distance between two objects

The distance between two objects

The distance between two objects

The distance between two objects

The distance between two objects

The distance between two objects

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.