pub struct HausdorffBounds {
pub lower: f64,
pub upper: f64,
pub point_from: DVec3,
pub point_to: DVec3,
}Expand description
An interval certain to contain a Hausdorff distance, with its witness.
Fields§
§lower: f64The distance is at least this: point_from is certainly this far
from every point of the other mesh (less its drift, see the module
documentation).
upper: f64The distance is at most this: every point of the measured mesh is within it of the other mesh.
point_from: DVec3The sample realising lower, on the mesh measured FROM (within
rounding of it).
point_to: DVec3The nearest point found to point_from on the other mesh.
Implementations§
Trait Implementations§
Source§impl Clone for HausdorffBounds
impl Clone for HausdorffBounds
Source§fn clone(&self) -> HausdorffBounds
fn clone(&self) -> HausdorffBounds
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 HausdorffBounds
Source§impl Debug for HausdorffBounds
impl Debug for HausdorffBounds
Source§impl PartialEq for HausdorffBounds
impl PartialEq for HausdorffBounds
impl StructuralPartialEq for HausdorffBounds
Auto Trait Implementations§
impl Freeze for HausdorffBounds
impl RefUnwindSafe for HausdorffBounds
impl Send for HausdorffBounds
impl Sync for HausdorffBounds
impl Unpin for HausdorffBounds
impl UnsafeUnpin for HausdorffBounds
impl UnwindSafe for HausdorffBounds
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more