This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

RotationTransform

RotationTransform[]
gives a TransformationFunction that represents a rotation in 2D by theta radians about the origin.
RotationTransform[, p]
gives a 2D rotation about the 2D point p.
RotationTransform[, w]
gives a 3D rotation around the direction of the 3D vector w.
RotationTransform[, w, p]
gives a 3D rotation around the axis w anchored at the point p.
RotationTransform[{u, v}]
gives a rotation about the origin that transforms the vector u to the direction of the vector v.
RotationTransform[{u, v}, p]
gives a rotation about the point p that transforms u to the direction of v.
RotationTransform[, {u, v}, ...]
gives a rotation by theta radians in the hyperplane spanned by u and v.
  • Degree or ° specifies an angle in degrees.
  • RotationTransform[, {u, v}, p] can be used to specify any rotation about any point p, in any number of dimensions.
  • Positive in RotationTransform[, {u, v}, p] corresponds to going from the direction of u toward the direction of v.
  • RotationTransform[, {u, v}] can effectively specify any element of the n-dimensional rotation group SO (n). RotationTransform[, {u, v}, p] can effectively specify any element of the n-dimensional special Euclidean group.
New in 6