Expand description
Transforms are used to describe the location, rotation, scaling and mirroring of geometric shapes.
Structs§
- Complex
Transform - Transformation described by a mirroring at the
xaxis, then a rotation around the origin, then a scaling, then a translation. This transformation allows rotations by arbitrary angles. - Matrix2d
Transform - Description of a transformation in the euclidean plane by a 2x2 matrix
A. Transforming a pointpis computed by the matrix productA*p. - Matrix3d
Transform - Affine transformation represented as a 3x3 matrix like:
- Rot90
Transform - Transformation that consists only of a rotation by a multiple of 90 degrees
around the origin
(0, 0). - Simple
Transform - Describes a geometric transformation that consists of a optional mirroring along the x-axis followed by a rotation by a multiple of 90 degrees followed by a displacement.
Traits§
- Affine
Transform - Geometric transformation which preserves parallelism.
Adds ‘shear’ to the
SimilarityTransform. - Displacement
Transform - Geometric transformation which preserves oriented angles and distances (i.e. translation).
- Isometric
Transform - Geometric transformation which preserves angles and distances (e.g. euclidean transform).
- Isometric
Transform90 - Geometric transformation which preserves angles and distances (e.g. euclidean transform) but allows only rotations by a multiple of 90 degrees.
- Similarity
Transform - Geometric transformation which preserves angles and ratios of distances.
Adds resizing to the
IsometricTransform. - Similarity
Transform90 - Geometric transformation which preserves angles and ratios of distances.
Adds resizing by integer numbers to the
IsometricTransform90. - Transformation
- General geometric transformation.