pub struct MinDistance {
    pub distance: f64,
    pub t1: f64,
    pub t2: f64,
}
Expand description

The minimum distance between two Bézier curves.

Fields§

§distance: f64

The shortest distance between any two points on the two curves.

§t1: f64

The position of the nearest point on the first curve, as a parameter.

To resolve this to a Point, use ParamCurve::eval.

§t2: f64

The position of the nearest point on the second curve, as a parameter.

To resolve this to a Point, use ParamCurve::eval.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.