Expand description
Transformation types and traits.
Structs§
- NonManhattan
Angle Error - Indicates that an angle was not a valid Manhattan angle.
- Transformation
- A transformation representing a Manhattan translation, rotation, and/or reflection of geometry.
- Transformation
Builder - A builder for creating transformations from translations and
Orientations. - Transformation
Matrix - A matrix representing a unitary transformation.
Enums§
- Rotation
- A Manhattan rotation: 0, 90, 180, or 270 degrees counterclockwise.
Traits§
- Transform
- A trait for specifying how an object is changed by a
Transformation. - Transform
Mut - A trait for specifying how an object is changed by a
Transformation. - Transform
Ref - A trait for specifying how an object is changed by a
Transformation. - Translate
- A trait for specifying how a shape is translated by a
Point. - Translate
Mut - A trait for specifying how a shape is translated by a
Point. - Translate
Ref - A trait for specifying how a shape is translated by a
Point.
Derive Macros§
- Transform
Mut - Derives
geometry::transform::TransformMut. - Transform
Ref - Derives
geometry::transform::TransformRef. - Translate
Mut - Derives
geometry::transform::TranslateMut. - Translate
Ref - Derives
geometry::transform::TranslateRef.