Mathematica > Visualization and Graphics > Computational Geometry > Geometric Transforms >
Mathematica > Visualization and Graphics > Symbolic Graphics Language > Graphics Transformations > Geometric Transforms >

RotationTransform

RotationTransform[Theta]
gives a TransformationFunction that represents a rotation in 2D by theta radians about the origin.
RotationTransform[Theta, p]
gives a 2D rotation about the 2D point p.
RotationTransform[Theta, w]
gives a 3D rotation around the direction of the 3D vector w.
RotationTransform[Theta, 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[Theta, {u, v}, ...]
gives a rotation by theta radians in the hyperplane spanned by u and v.
  • Theta Degree or Theta° specifies an angle in degrees.
  • RotationTransform[Theta, {u, v}, p] can be used to specify any rotation about any point p, in any number of dimensions.
  • Positive Theta in RotationTransform[Theta, {u, v}, p] corresponds to going from the direction of u toward the direction of v.
  • RotationTransform[Theta, {u, v}] can effectively specify any element of the n-dimensional rotation group SO (n). RotationTransform[Theta, {u, v}, p] can effectively specify any element of the n-dimensional special Euclidean group.
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team