pub struct MeshDiffStats {
pub vertex_count: usize,
pub max_displacement: f32,
pub mean_displacement: f32,
pub rms_displacement: f32,
pub hausdorff_approx: f32,
pub percent_changed: f32,
pub epsilon: f32,
}Expand description
Statistics comparing two meshes with the same topology.
Fields§
§vertex_count: usize§max_displacement: f32§mean_displacement: f32§rms_displacement: f32§hausdorff_approx: f32Approximated Hausdorff distance: max of symmetric mean displacements.
percent_changed: f32Percentage of vertices with displacement greater than epsilon.
epsilon: f32Auto Trait Implementations§
impl Freeze for MeshDiffStats
impl RefUnwindSafe for MeshDiffStats
impl Send for MeshDiffStats
impl Sync for MeshDiffStats
impl Unpin for MeshDiffStats
impl UnsafeUnpin for MeshDiffStats
impl UnwindSafe for MeshDiffStats
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
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