pub struct FixReport {
pub before: Diagnosis,
pub after: Diagnosis,
pub wires_reordered: usize,
pub edges_collapsed: usize,
pub edges_trimmed: usize,
pub sewn: Option<(usize, usize)>,
pub tolerances_reduced: usize,
pub tolerances_widened: usize,
}Expand description
What fix_shape did, and what it found before and after.
Fields§
§before: DiagnosisThe diagnosis the shape came in with.
after: DiagnosisThe diagnosis it leaves with. Not necessarily valid: what has no mend here is still reported.
wires_reordered: usizeWires whose edges were put end to end.
edges_collapsed: usizeEdges collapsed to a vertex.
edges_trimmed: usizeEdges given a pcurve on a face they bound.
sewn: Option<(usize, usize)>Edge pairs sewn, and edges still free after, when sewing ran.
tolerances_reduced: usizeTolerances tightened.
tolerances_widened: usizeTolerances widened so that every vertex is at least as loose as the edges it bounds and every edge as the faces it bounds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixReport
impl RefUnwindSafe for FixReport
impl Send for FixReport
impl Sync for FixReport
impl Unpin for FixReport
impl UnsafeUnpin for FixReport
impl UnwindSafe for FixReport
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<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.