pub struct CurveProjection {
pub distance: f64,
pub point: Point3,
pub parameter: f64,
}Expand description
Result of projecting a point onto a curve.
Fields§
§distance: f64Distance from point to closest point on curve.
point: Point3Closest point on the curve.
parameter: f64Parameter value at closest point.
Trait Implementations§
Source§impl Clone for CurveProjection
impl Clone for CurveProjection
Source§fn clone(&self) -> CurveProjection
fn clone(&self) -> CurveProjection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy 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