Trait nalgebra::Transformation [] [src]

pub trait Transformation<M> {
    fn transformation(&self) -> M;
    fn inverse_transformation(&self) -> M;
    fn append_transformation_mut(&mut self, &M);
    fn append_transformation(&self, amount: &M) -> Self;
    fn prepend_transformation_mut(&mut self, &M);
    fn prepend_transformation(&self, amount: &M) -> Self;
    fn set_transformation(&mut self, M);
}

Trait of object which represent a transformation, and to which new transformations can be appended.

A transformation is assumed to be an isometry without reflexion.

Required Methods

Gets the transformation of self.

Gets the inverse transformation of self.

Appends a transformation to this object.

Appends the transformation amount to a copy of t.

Prepends a transformation to this object.

Prepends the transformation amount to a copy of t.

Sets the transformation of self.

Implementors