pub struct ScanFitResult {
pub params: HashMap<String, f32>,
pub residual_error: f32,
pub iterations: usize,
pub converged: bool,
}Expand description
Outcome of a parameter-fitting run.
Fields§
§params: HashMap<String, f32>Parameter name → value in [0, 1].
residual_error: f32Mean closest-point distance (metres) between scan and fitted mesh.
iterations: usizeNumber of coordinate-descent iterations executed.
converged: boolWhether the run converged within convergence_tol.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FitResult
impl RefUnwindSafe for FitResult
impl Send for FitResult
impl Sync for FitResult
impl Unpin for FitResult
impl UnsafeUnpin for FitResult
impl UnwindSafe for FitResult
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,
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