Trait nalgebra::RotationMatrix [] [src]

pub trait RotationMatrix<N, LV: Mul<Self::Output, Output=LV>, AV>: Rotation<AV> {
    type Output: SquareMatrix<N, LV> + Rotation<AV>;
    fn to_rotation_matrix(&self) -> Self::Output;
}

Trait of transformation having a rotation extractable as a rotation matrix. This can typically be implemented by quaternions to convert them to a rotation matrix.

Associated Types

type Output: SquareMatrix<N, LV> + Rotation<AV>

The output rotation matrix type.

Required Methods

fn to_rotation_matrix(&self) -> Self::Output

Gets the rotation matrix represented by self.

Implementors