nalgebra/geometry/
transform_alias.rs

1use crate::geometry::{TAffine, TGeneral, TProjective, Transform};
2
3/// A 2D general transformation that may not be invertible. Stored as a homogeneous 3x3 matrix.
4pub type Transform2<T> = Transform<T, TGeneral, 2>;
5/// An invertible 2D general transformation. Stored as a homogeneous 3x3 matrix.
6pub type Projective2<T> = Transform<T, TProjective, 2>;
7/// A 2D affine transformation. Stored as a homogeneous 3x3 matrix.
8pub type Affine2<T> = Transform<T, TAffine, 2>;
9
10/// A 3D general transformation that may not be inversible. Stored as a homogeneous 4x4 matrix.
11pub type Transform3<T> = Transform<T, TGeneral, 3>;
12/// An invertible 3D general transformation. Stored as a homogeneous 4x4 matrix.
13pub type Projective3<T> = Transform<T, TProjective, 3>;
14/// A 3D affine transformation. Stored as a homogeneous 4x4 matrix.
15pub type Affine3<T> = Transform<T, TAffine, 3>;