pub struct ReanchoredBoundaries {
pub moved: usize,
pub worst_before: f64,
pub worst_after: f64,
pub refused: Vec<(Shape, f64)>,
}Expand description
What reanchor_boundaries did.
Fields§
§moved: usizeEdges whose space curves moved onto their face’s surface.
worst_before: f64The worst edge-to-surface offset found before moving.
worst_after: f64The worst residual after: the fit’s honest distance from the projected samples.
refused: Vec<(Shape, f64)>Edges refused (farther out than the cap), with their offsets.
Trait Implementations§
Source§impl Debug for ReanchoredBoundaries
impl Debug for ReanchoredBoundaries
Source§impl Default for ReanchoredBoundaries
impl Default for ReanchoredBoundaries
Source§fn default() -> ReanchoredBoundaries
fn default() -> ReanchoredBoundaries
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReanchoredBoundaries
impl RefUnwindSafe for ReanchoredBoundaries
impl Send for ReanchoredBoundaries
impl Sync for ReanchoredBoundaries
impl Unpin for ReanchoredBoundaries
impl UnsafeUnpin for ReanchoredBoundaries
impl UnwindSafe for ReanchoredBoundaries
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<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.