Trait libreda_db::layout::prelude::AffineTransform
source · pub trait AffineTransform: Transformation {
// Required method
fn eigen_vectors(
&self,
) -> (Vector<Self::SourceCoord>, Vector<Self::SourceCoord>);
}
Expand description
Geometric transformation which preserves parallelism.
Adds ‘shear’ to the SimilarityTransform
.
Required Methods§
sourcefn eigen_vectors(
&self,
) -> (Vector<Self::SourceCoord>, Vector<Self::SourceCoord>)
fn eigen_vectors( &self, ) -> (Vector<Self::SourceCoord>, Vector<Self::SourceCoord>)
Get the both eigen-vectors which characterize the ‘shear’. Eigen-vectors are the vectors whose direction is not changed when applying the transformation.