pub struct IcpIteration {
pub iteration: usize,
pub correspondences: usize,
pub evaluated_correspondences: usize,
pub fitness: f64,
pub fitness_change: Option<f64>,
pub translation_delta: f64,
pub rotation_delta_radians: f64,
}Expand description
Measurements for one completed update (no additional nearest-neighbor pass).
Fields§
§iteration: usizeOne-based update number.
correspondences: usizeGated correspondences used to estimate this update.
evaluated_correspondences: usizeGated correspondences after applying the update and rematching.
fitness: f64Post-update mean squared distance, or f64::MAX if there are no matches.
fitness_change: Option<f64>Previous post-update fitness minus this fitness; None for the first update. Membership can change, so this is not an error on a fixed set of points.
translation_delta: f64Update translation length in the input coordinate units.
rotation_delta_radians: f64Shortest update rotation angle in radians.
Trait Implementations§
Source§impl Clone for IcpIteration
impl Clone for IcpIteration
Source§fn clone(&self) -> IcpIteration
fn clone(&self) -> IcpIteration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IcpIteration
Source§impl Debug for IcpIteration
impl Debug for IcpIteration
Source§impl PartialEq for IcpIteration
impl PartialEq for IcpIteration
impl StructuralPartialEq for IcpIteration
Auto Trait Implementations§
impl Freeze for IcpIteration
impl RefUnwindSafe for IcpIteration
impl Send for IcpIteration
impl Sync for IcpIteration
impl Unpin for IcpIteration
impl UnsafeUnpin for IcpIteration
impl UnwindSafe for IcpIteration
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