Rotation
From Robotics
← Back: Scaling | Overview: Transformations | Next: Homogeneous coordinates → |
Rotation is a transformation where the coordinates are rotated around the origin of the coordinate system. In this article rotation is first described for two dimensions.
The figure on the right shows an example, where the vector is rotated by around the origin, what results in vector . The length of the vector is assumed as and so the length of is as well. The initial angle of relative to the x-axis is . Hence the resulting coordinates and can be computed as follows:
|
|
Using the addition theorems of sine and cosine leads to:
|
|