pub trait Translate<T> {
    // Required method
    fn translate(&self, v: Vector<T>) -> Self;
}
Expand description

Translate the geometrical object by a vector.

Required Methods§

fn translate(&self, v: Vector<T>) -> Self

Translate the geometrical object by a vector v.

Implementors§

§

impl<S, T> Translate<T> for Swhere T: Copy + Add<T, Output = T>, S: MapPointwise<T>,