Trait nalgebra::AbsoluteRotate
[−]
[src]
pub trait AbsoluteRotate<V> {
fn absolute_rotate(&self, v: &V) -> V;
}Composition of a rotation and an absolute value.
The operation is accessible using the RotationMatrix, Absolute, and RMul traits, but
doing so is not easy in generic code as it can be a cause of type over-parametrization.
Required Methods
fn absolute_rotate(&self, v: &V) -> V
This is the same as:
self.rotation_matrix().absolute().rmul(v)
Implementors
impl<N: BaseFloat> AbsoluteRotate<Vec2<N>> for Rot2<N>impl<N: BaseFloat> AbsoluteRotate<Vec3<N>> for Rot3<N>impl<N: BaseFloat> AbsoluteRotate<Vec4<N>> for Rot4<N>impl<N: BaseFloat> AbsoluteRotate<Vec2<N>> for Iso2<N>impl<N: BaseFloat> AbsoluteRotate<Vec3<N>> for Iso3<N>impl<N: BaseFloat> AbsoluteRotate<Vec4<N>> for Iso4<N>