Trait libreda_db::prelude::traits::RotateOrtho

source ·
pub trait RotateOrtho<T> {
    // Required method
    fn rotate_ortho(&self, a: Angle) -> Self;
}
Expand description

Rotate by a integer multiple of 90 degrees.

Required Methods§

source

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

Rotate the geometrical shape by a multiple of 90 degrees.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<S, T> RotateOrtho<T> for S
where T: Copy + Zero + Sub<Output = T>, S: MapPointwise<T>,