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§

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

Rotate the geometrical shape by a multiple of 90 degrees.

Implementors§

§

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