Expand description
Traits for geometric transformations such as translation and rotation. Traits describing in-place geometric transformations.
Traits§
- CanMirror
- Mirrors a primitive across a compatible plane.
- CanRotate
- Rotates a primitive around a line by an angle in radians.
- CanShear
- Shears a primitive parallel to the x axis: every vertex moves by
x ← x + k·y, where the shear factorkis the length of the supplied line. The line’s position and direction are ignored. - CanTranslate
- Translates a primitive along a line-defined direction.