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
impl<N: BaseFloat> RotationMatrix<N, Vector3<N>, Vector3<N>> for UnitQuaternion<N>
impl<N: Zero + BaseNum + Cast<f64> + BaseFloat> RotationMatrix<N, Vector2<N>, Vector1<N>> for Rotation2<N>
impl<N: Zero + BaseNum + Cast<f64> + BaseFloat> RotationMatrix<N, Vector3<N>, Vector3<N>> for Rotation3<N>
impl<N: Cast<f64> + BaseFloat> RotationMatrix<N, Vector2<N>, Vector1<N>> for Isometry2<N>
impl<N: Cast<f64> + BaseFloat> RotationMatrix<N, Vector3<N>, Vector3<N>> for Isometry3<N>