Struct kurbo::MinDistance[][src]

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

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.