Trait libreda_pnr::db::traits::Translate[]

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

Translate the geometrical object by a vector v.

Loading content...

Implementors

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

Loading content...