Struct piet_common::kurbo::MinDistance
Expand description
The minimum distance between two Bézier curves.
Fields
distance: f64The shortest distance between any two points on the two curves.
t1: f64The position of the nearest point on the first curve, as a parameter.
To resolve this to a Point, use ParamCurve::eval.
t2: f64The position of the nearest point on the second curve, as a parameter.
To resolve this to a Point, use ParamCurve::eval.
Auto Trait Implementations
impl RefUnwindSafe for MinDistance
impl Send for MinDistance
impl Sync for MinDistance
impl Unpin for MinDistance
impl UnwindSafe for MinDistance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
sourcefn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
sourceimpl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
sourcefn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.