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§
impl Freeze for MinDistance
impl RefUnwindSafe for MinDistance
impl Send for MinDistance
impl Sync for MinDistance
impl Unpin for MinDistance
impl UnwindSafe for MinDistance
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more