pub struct ExtremaSolution {
pub distance: f64,
pub point_a: Point3,
pub point_b: Point3,
pub param_a: f64,
pub param_b: f64,
}Expand description
Result of a distance/extrema computation between two geometric entities.
Fields§
§distance: f64Minimum distance found.
point_a: Point3Closest point on entity A.
point_b: Point3Closest point on entity B.
param_a: f64Parameter on entity A at closest point.
param_b: f64Parameter on entity B at closest point.
Trait Implementations§
Source§impl Clone for ExtremaSolution
impl Clone for ExtremaSolution
Source§fn clone(&self) -> ExtremaSolution
fn clone(&self) -> ExtremaSolution
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 ExtremaSolution
Auto Trait Implementations§
impl Freeze for ExtremaSolution
impl RefUnwindSafe for ExtremaSolution
impl Send for ExtremaSolution
impl Sync for ExtremaSolution
impl Unpin for ExtremaSolution
impl UnsafeUnpin for ExtremaSolution
impl UnwindSafe for ExtremaSolution
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