Skip to main content

Transform

Trait Transform 

Source
pub trait Transform<V> {
    // Required method
    fn apply_point(&self, point: V) -> V;
}
Expand description

A transformation that maps vectors to vectors.

Math libraries can implement this for their transform types (matrices, quaternions, rotors, etc.) to enable generic transform support across libraries that depend on vector-space.

Required Methods§

Source

fn apply_point(&self, point: V) -> V

Applies this transformation to a point.

Implementors§