Struct nalgebra::Iso4
[−]
[src]
pub struct Iso4<N> { pub rotation: Rot4<N>, pub translation: Vec4<N>, }
Four dimensional isometry.
Isometries conserve angles and distances, hence do not allow shearing nor scaling.
Fields
rotation | The rotation applicable by this isometry. |
translation | The translation applicable by this isometry. |
Methods
impl<N> Iso4<N>
fn new_with_rotmat(translation: Vec4<N>, rotation: Rot4<N>) -> Iso4<N>
Creates a new isometry from a rotation matrix and a vector.