pub struct Registration {
pub transform: [[f64; 4]; 3],
pub rms: f64,
pub inliers: usize,
pub sampled: usize,
pub converged: bool,
pub free: Vec<FreeMotion>,
}Expand description
A rigid motion that brings points onto a reference, and how well.
Fields§
§transform: [[f64; 4]; 3]Row-major, the last row left out: the points’ frame to where they fit.
rms: f64RMS distance of the pairs kept, mm.
inliers: usize§sampled: usize§converged: bool§free: Vec<FreeMotion>Motions the fit cannot pin down (a cylinder turning about its axis,
a plane sliding along itself), each a turn about about with a
slide; empty when the fit is held every way.
Trait Implementations§
Source§impl Clone for Registration
impl Clone for Registration
Source§impl Debug for Registration
impl Debug for Registration
Source§impl<'de> Deserialize<'de> for Registration
impl<'de> Deserialize<'de> for Registration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Registration
impl PartialEq for Registration
Source§impl Serialize for Registration
impl Serialize for Registration
impl StructuralPartialEq for Registration
Auto Trait Implementations§
impl Forget for Registration
impl Freeze for Registration
impl RefUnwindSafe for Registration
impl Send for Registration
impl Sync for Registration
impl Unpin for Registration
impl UnsafeUnpin for Registration
impl UnwindSafe for Registration
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