Trait nalgebra::Transform [] [src]

pub trait Transform<V> {
    fn transform(&self, &V) -> V;
    fn inverse_transform(&self, &V) -> V;
}

Trait of objects able to transform other objects.

This is typically implemented by matrices which transform vectors.

Required Methods

fn transform(&self, &V) -> V

Applies a transformation to v.

fn inverse_transform(&self, &V) -> V

Applies an inverse transformation to v.

Implementors