Trait nalgebra::Translate [] [src]

pub trait Translate<V> {
    fn translate(&self, &V) -> V;
    fn inv_translate(&self, &V) -> V;
}

Trait of objects able to translate other objects. This is typically implemented by vectors to translate points.

Required Methods

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

Apply a translation to an object.

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

Apply an inverse translation to an object.

Implementors