pub struct GeometricHealth { /* private fields */ }Expand description
Result of a geometric audit.
Unlike the topological audit this is tolerance-dependent, so a clean result is a statement about agreement AT A TOLERANCE, not an absolute one.
Implementations§
Source§impl GeometricHealth
impl GeometricHealth
Sourcepub fn defects(&self) -> &[GeometricDefect]
pub fn defects(&self) -> &[GeometricDefect]
Every defect found, in discovery order.
Sourcepub fn is_consistent(&self) -> bool
pub fn is_consistent(&self) -> bool
Whether the geometry is consistent at the audited tolerance.
Sourcepub fn worst_error(&self) -> Option<Scalar>
pub fn worst_error(&self) -> Option<Scalar>
The largest positional disagreement found, if any was measured.
Useful for reporting how far off a rejected solid was, rather than only that it was rejected.
Trait Implementations§
Source§impl Clone for GeometricHealth
impl Clone for GeometricHealth
Source§fn clone(&self) -> GeometricHealth
fn clone(&self) -> GeometricHealth
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeometricHealth
impl Debug for GeometricHealth
Source§impl Default for GeometricHealth
impl Default for GeometricHealth
Source§fn default() -> GeometricHealth
fn default() -> GeometricHealth
Returns the “default value” for a type. Read more
Source§impl PartialEq for GeometricHealth
impl PartialEq for GeometricHealth
impl StructuralPartialEq for GeometricHealth
Auto Trait Implementations§
impl Freeze for GeometricHealth
impl RefUnwindSafe for GeometricHealth
impl Send for GeometricHealth
impl Sync for GeometricHealth
impl Unpin for GeometricHealth
impl UnwindSafe for GeometricHealth
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