Trait libreda_db::prelude::Translate[][src]

pub trait Translate<T> where
    T: CoordinateType
{ pub fn translate(&self, v: Vector<T>) -> Self; }

Translate the geometrical object by a vector.

Required methods

pub fn translate(&self, v: Vector<T>) -> Self[src]

Translate the geometrical object by a vector v.

Loading content...

Implementors

impl<S, T> Translate<T> for S where
    S: MapPointwise<T>,
    T: CoordinateType
[src]

Loading content...