[−][src]Trait aljabar::Rotation
A type that can rotate a Vector
of a given dimension.
Associated Types
type Scalar
Required methods
fn rotate_vector(
self,
v: Vector<Self::Scalar, { DIMS }>
) -> Vector<Self::Scalar, { DIMS }>
self,
v: Vector<Self::Scalar, { DIMS }>
) -> Vector<Self::Scalar, { DIMS }>
Provided methods
fn rotate_point(
self,
p: Point<Self::Scalar, { DIMS }>
) -> Point<Self::Scalar, { DIMS }>
self,
p: Point<Self::Scalar, { DIMS }>
) -> Point<Self::Scalar, { DIMS }>
Implementors
impl<T> Rotation<3> for Quaternion<T> where
T: Real + Clone,
[src]
T: Real + Clone,
impl<T, const DIMS: usize> Rotation<DIMS> for Orthonormal<T, { DIMS }> where
Matrix<T, { DIMS }, { DIMS }>: Mul<Vector<T, { DIMS }>, Output = Vector<T, { DIMS }>>,
[src]
Matrix<T, { DIMS }, { DIMS }>: Mul<Vector<T, { DIMS }>, Output = Vector<T, { DIMS }>>,