The definitive Wolfram Language and notebook experience
The original technical computing environment
All-in-one AI assistance for your Wolfram experience
More mobile apps
We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise
WolframConsulting.com
More Wolfram Solutions
More Solutions for Education
Courses in computing, science, life and more
Learn, solve problems and share ideas.
News, views and insights from Wolfram
Resources for
Upgrading from:
All the functionality in Geometry`Rotations` is now available in the built-in Mathematica kernel function RotationTransform.
Here is the matrix for rotation by θ degrees:
In Version 6, you get a TransformationFunction that represents a rotation in 2D by θ radians about the origin:
The point {0,0} is rotated about the point {1,1} by 60 degrees:
RotationMatrix rotates points in the opposite direction from RotationMatrix2D:
Similarly RotationTransform rotates points in the opposite direction from Rotate2D:
RotationMatrix uses yaw-pitch-roll angles rather than the Euler angles used by RotationMatrix3D: