pub struct AlignResult {
pub rmsd: f64,
pub rotation: [[f64; 3]; 3],
pub translation: [f64; 3],
}Expand description
Result of a Kabsch alignment.
Fields§
§rmsd: f64RMSD after optimal superposition (Å or whatever unit reference uses).
rotation: [[f64; 3]; 3]3×3 rotation matrix R such that mobile_centred @ R ≈ reference_centred.
translation: [f64; 3]Translation to apply to mobile after rotation to match reference centroid.
Trait Implementations§
Source§impl Clone for AlignResult
impl Clone for AlignResult
Source§fn clone(&self) -> AlignResult
fn clone(&self) -> AlignResult
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 moreAuto Trait Implementations§
impl Freeze for AlignResult
impl RefUnwindSafe for AlignResult
impl Send for AlignResult
impl Sync for AlignResult
impl Unpin for AlignResult
impl UnsafeUnpin for AlignResult
impl UnwindSafe for AlignResult
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