pub struct CurveProjection {
pub parameter: f64,
pub distance: f64,
}Expand description
Closest point of a query point on a curve: the parameter and the distance.
Fields§
§parameter: f64Parameter of the closest point.
distance: f64Distance from the query point to the curve (0.0 when the query
point is within tolerance of the curve).
Trait Implementations§
Source§impl Clone for CurveProjection
impl Clone for CurveProjection
impl Copy for CurveProjection
Source§impl Debug for CurveProjection
impl Debug for CurveProjection
Source§impl PartialEq for CurveProjection
impl PartialEq for CurveProjection
impl StructuralPartialEq for CurveProjection
Auto Trait Implementations§
impl Freeze for CurveProjection
impl RefUnwindSafe for CurveProjection
impl Send for CurveProjection
impl Sync for CurveProjection
impl Unpin for CurveProjection
impl UnsafeUnpin for CurveProjection
impl UnwindSafe for CurveProjection
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