pub struct DistanceResult {
pub distance: f64,
pub point_a: Point3,
pub point_b: Point3,
}Expand description
A single distance solution.
Fields§
§distance: f64The minimum distance.
point_a: Point3Closest point on shape A (or the query point).
point_b: Point3Closest point on shape B.
Trait Implementations§
Source§impl Clone for DistanceResult
impl Clone for DistanceResult
Source§fn clone(&self) -> DistanceResult
fn clone(&self) -> DistanceResult
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 moreAuto Trait Implementations§
impl Freeze for DistanceResult
impl RefUnwindSafe for DistanceResult
impl Send for DistanceResult
impl Sync for DistanceResult
impl Unpin for DistanceResult
impl UnsafeUnpin for DistanceResult
impl UnwindSafe for DistanceResult
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