Geometry`Rotations`
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:
Version 5.2
![<< Geometry`Rotations`;
MatrixForm[RotationMatrix2D[\[Theta]]]](Files/Rotations.en/legacy_1.gif)
In Version 6, you get a TransformationFunction that represents a rotation in 2D by θ radians about the origin:
In[32]:=32

✖
https://wolfram.com/xid/0bsqho8dr4qk5dfelmr51f-jcul6h
Out[32]=32

The point {0,0} is rotated about the point {1,1} by 60 degrees:
Version 5.2
![<< Geometry`Rotations`;
MatrixForm[RotationMatrix2D[N[Pi/3]]];
Rotate2D[{0., 0.}, N[Pi/3], {1., 1.}]](Files/Rotations.en/legacy_2.gif)
In[33]:=33

✖
https://wolfram.com/xid/0bsqho8dr4qk5dfelmr51f-iyp67t
Out[33]=33

In[53]:=53

✖
https://wolfram.com/xid/0bsqho8dr4qk5dfelmr51f-bxz58
Out[53]=53

RotationMatrix rotates points in the opposite direction from RotationMatrix2D:
Version 5.2
![<< Geometry`Rotations`;
RotationMatrix2D[phi]](Files/Rotations.en/legacy_3.gif)
In[8]:=8

✖
https://wolfram.com/xid/0bsqho8dr4qk5dfelmr51f-o1axpp
Out[8]=8

Similarly RotationTransform rotates points in the opposite direction from Rotate2D:
Version 5.2
![<< Geometry`Rotations`;
Rotate2D[{x, y}, phi, {x0, y0}]](Files/Rotations.en/legacy_4.gif)
In[9]:=9

✖
https://wolfram.com/xid/0bsqho8dr4qk5dfelmr51f-g24nsk
Out[9]=9

RotationMatrix uses yaw-pitch-roll angles rather than the Euler angles used by RotationMatrix3D:
Version 5.2
![<< Geometry`Rotations`;
RotationMatrix3D[phi, theta, psi]](Files/Rotations.en/legacy_5.gif)
In[10]:=10

✖
https://wolfram.com/xid/0bsqho8dr4qk5dfelmr51f-cs32l0
Out[10]=10
