pub struct SymmetryFit {
pub plane: Plane,
pub rms: f64,
pub matched: usize,
pub sampled: usize,
pub score: f64,
pub converged: bool,
}Expand description
What symmetry_plane found.
Fields§
§plane: PlaneThe plane the part is its own mirror image in.
rms: f64The mirror residual: the RMS distance to the mesh of the kept samples reflected in the plane.
matched: usizeHow many reflected samples were kept.
sampled: usizeHow many samples were reflected.
score: f64The capped mean distance of every reflected sample to the mesh, the seeds were ranked by.
converged: boolWhether the last bisection moved no sample’s reflection further than the confusion distance.
Trait Implementations§
Source§impl Clone for SymmetryFit
impl Clone for SymmetryFit
Source§impl Debug for SymmetryFit
impl Debug for SymmetryFit
Source§impl PartialEq for SymmetryFit
impl PartialEq for SymmetryFit
impl StructuralPartialEq for SymmetryFit
Auto Trait Implementations§
impl Freeze for SymmetryFit
impl RefUnwindSafe for SymmetryFit
impl Send for SymmetryFit
impl Sync for SymmetryFit
impl Unpin for SymmetryFit
impl UnsafeUnpin for SymmetryFit
impl UnwindSafe for SymmetryFit
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.