Trait libreda_db::layout::prelude::IsometricTransform90

source ·
pub trait IsometricTransform90: IsometricTransform + SimilarityTransform90 {
    // Required method
    fn rotation(&self) -> Angle;
}
Expand description

Geometric transformation which preserves angles and distances (e.g. euclidean transform) but allows only rotations by a multiple of 90 degrees.

Required Methods§

source

fn rotation(&self) -> Angle

Return the rotation by a multiple of 90 degrees.

Implementors§