pub trait Transformation {
    fn rotate(&mut self, rotate_quatd: &UnitQuaternion<f64>);
    fn translate(&mut self, translate_matrix: &Translation<f64, 3>);
}
Expand description

Transformation for atoms and lattices.

Required Methods§

source

fn rotate(&mut self, rotate_quatd: &UnitQuaternion<f64>)

source

fn translate(&mut self, translate_matrix: &Translation<f64, 3>)

Implementors§

source§

impl<T> Transformation for Atom<T>where
    T: ModelInfo,

source§

impl<T> Transformation for AtomCollection<T>where
    T: ModelInfo,

source§

impl<T> Transformation for LatticeModel<T>where
    T: ModelInfo,

source§

impl<T> Transformation for LatticeVectors<T>where
    T: ModelInfo,