Module transform

Module transform 

Source
Expand description

Transformation types and traits.

Structs§

NonManhattanAngleError
Indicates that an angle was not a valid Manhattan angle.
Transformation
A transformation representing a Manhattan translation, rotation, and/or reflection of geometry.
TransformationBuilder
A builder for creating transformations from translations and Orientations.
TransformationMatrix
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.
TransformMut
A trait for specifying how an object is changed by a Transformation.
TransformRef
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.
TranslateMut
A trait for specifying how a shape is translated by a Point.
TranslateRef
A trait for specifying how a shape is translated by a Point.

Derive Macros§

TransformMut
Derives geometry::transform::TransformMut.
TransformRef
Derives geometry::transform::TransformRef.
TranslateMut
Derives geometry::transform::TranslateMut.
TranslateRef
Derives geometry::transform::TranslateRef.