pub struct CurveProjection {
pub parameter: f64,
pub point: Point3,
pub distance: f64,
}Expand description
Result of projecting a point onto a curve.
Fields§
§parameter: f64Parameter value at the closest point.
point: Point3The closest point on the curve.
distance: f64Distance from the input point to the 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