Trait nalgebra::geometry::AbstractRotation[][src]

pub trait AbstractRotation<N: Scalar, D: DimName>: PartialEq + ClosedMul + Clone {
    fn identity() -> Self;
fn inverse(&self) -> Self;
fn inverse_mut(&mut self);
fn transform_vector(&self, v: &VectorN<N, D>) -> VectorN<N, D>
    where
        DefaultAllocator: Allocator<N, D>
;
fn transform_point(&self, p: &Point<N, D>) -> Point<N, D>
    where
        DefaultAllocator: Allocator<N, D>
;
fn inverse_transform_vector(&self, v: &VectorN<N, D>) -> VectorN<N, D>
    where
        DefaultAllocator: Allocator<N, D>
;
fn inverse_transform_point(&self, p: &Point<N, D>) -> Point<N, D>
    where
        DefaultAllocator: Allocator<N, D>
; fn inverse_transform_unit_vector(
        &self,
        v: &Unit<VectorN<N, D>>
    ) -> Unit<VectorN<N, D>>
    where
        DefaultAllocator: Allocator<N, D>
, { ... } }
Expand description

Trait implemented by rotations that can be used inside of an Isometry or Similarity.

Required methods

The rotation identity.

The rotation inverse.

Change self to its inverse.

Apply the rotation to the given vector.

Apply the rotation to the given point.

Apply the inverse rotation to the given vector.

Apply the inverse rotation to the given point.

Provided methods

Apply the inverse rotation to the given unit vector.

Implementors