Trait libreda_pnr::db::traits::RotateOrtho[]

pub trait RotateOrtho<T> where
    T: CoordinateType
{ pub fn rotate_ortho(&self, a: Angle) -> Self; }

Rotate by a integer multiple of 90 degrees.

Required methods

pub fn rotate_ortho(&self, a: Angle) -> Self

Rotate the geometrical shape by a multiple of 90 degrees.

Loading content...

Implementors

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

Loading content...