What is a Cartesian coordinate system?
A Cartesian coordinate system is a coordinate system that specifies each point uniquely in a plane by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured in the same unit of length. In three-dimensional space, a Cartesian coordinate system uses three axes (x, y, z) to define the position of points.
How are translations, rotations, and scalings represented in 2D and 3D?
2D Transformations
- Translation: Represented by a vector (tx, ty) that shifts points in the x and y directions.
- Rotation: Represented by an angle θ, rotating points around the origin or a specified pivot point.
- Scaling: Represented by a scaling factor (sx, sy) that stretches or compresses points in the x and y directions.
3D Transformations
- Translation: Represented by a vector (tx, ty, tz) that shifts points in the x, y, and z directions.
- Rotation: Represented by angles (α, β, γ) around the x, y, and z axes, respectively.
- Scaling: Represented by scaling factors (sx, sy, sz) that stretch or compress points in the x, y, and z directions.
Hint: represents scaling, represents rotation, and represents translation.
What is an affine transformation?
An affine transformation is a linear mapping method that preserves points, straight lines, and planes. In an affine transformation, parallel lines remain parallel after the transformation, and ratios of distances along parallel lines are preserved. It can be represented in both 2D and 3D using matrices, allowing for operations such as translation, rotation, scaling, and shearing.
Translation
A translation is a type of transformation that shifts every point of an object or coordinate system by the same distance in a specified direction. In mathematical terms, a translation can be represented by adding a vector to each point’s coordinates.
Rotation
A rotation is a transformation that turns every point of an object or coordinate system around a fixed point (the center of rotation) by a specified angle. In 2D, this is typically around the origin, while in 3D, it can be around any axis.
Remark on orthonormal matrices
Why do we assume that the rotation matrix is orthonormal?
The orthonormality condition ensures that the transformation preserves angles and lengths, which is crucial for maintaining the geometric properties of the object being rotated. In 3D, this means that the columns (or rows) of the rotation matrix are orthogonal unit vectors.
Rotation around an arbitrary point P
To rotate a point around an arbitrary point P, you can follow these steps:
- Translate the point P to the origin by subtracting its coordinates from the point you want to rotate.
- Apply the rotation matrix to the translated point.
- Translate the point back by adding the coordinates of point P.
Affine map, similarity transformation and rigid body motion
Affine map
An affine map is a transformation that preserves points, straight lines, and planes. It can be expressed in matrix form, allowing for operations such as translation, rotation, scaling, and shearing. An affine map can be represented in both 2D and 3D using homogeneous coordinates.
Properties
- Linearity: Affine maps preserve linear combinations of points.
- Parallelism: Parallel lines remain parallel after an affine transformation.
- Ratios of distances: The ratios of distances along parallel lines are preserved.
- Collinearity: Collinear points remain collinear after the transformation.
→ In general, a square is mapped to a rotated and translated parallelogram.
Similarity transformation
A similarity transformation is a specific type of affine transformation that preserves angles and distances, meaning it maintains the shape of geometric figures while allowing for scaling. In 2D, it can be represented by a matrix that combines rotation, scaling, and translation, while in 3D, it involves a similar combination of transformations.
Properties
- Ratios, angles and parallel lines are preserved.
- Length, directions and orientations can change.
- To determine its four parameters , , , at least two corresponding points in both coordinate systems are necessary.
→ A square is mapped to a scaled, rotated and translated square.
Rigid body motion
Rigid body motion refers to the movement of a solid object in space without deformation. It includes translations and rotations but does not involve scaling or shearing. In mathematical terms, rigid body motion can be represented by a combination of translation and rotation matrices, ensuring that the distances between points remain constant.
Properties
- It is a combination of a rotation, translation and reflection (if ).
- Ratios, angles, lengths and parallel lines are preserved.
- Orientation can change, if . (aka improper rigid motion)
→ A square is mapped to a rotated and translated square.
Preview
Projective transformation is covered in Projective Geometry