0% found this document useful (0 votes)
24 views6 pages

2D Geometric Transformations Explained

Study well

Uploaded by

aarav.a211123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views6 pages

2D Geometric Transformations Explained

Study well

Uploaded by

aarav.a211123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

UNIT 3

2D Geometric Transformations
In many applications, changes in orientations, size, and shape are accomplished with
geometric transformations that alter the coordinate descriptions of objects.
• 2D Transformations take place in a two-dimensional plane.
• Transformations are helpful in changing the position, size, orientation, shape etc of
the object.
Basic geometric transformations are:
Translation
Rotation
Scaling
Reflection
Shear
Translation
It is the straight line movement of an object from one position to another is called
Translation. Here the object is positioned from one coordinate location to another.
Translation of point:
To translate a point from coordinate position (x, y) to another (x1 y1), we add algebraically
the translation distances Tx and Ty to original coordinate.
The translation pair (Tx,Ty) is called as shift vector.
Translation is a movement of objects without deformation. Every position or point is
translated by the same amount. When the straight line is translated, then it will be drawn
using endpoints.
Rotation:
It is a process of changing the angle of the object. Rotation can be clockwise or
anticlockwise. For rotation, we have to specify the angle of rotation and rotation point.
Rotation point is also called a pivot point. It is print about which object is rotated.
Types of Rotation:
1. Anticlockwise
2. Counterclockwise
The positive value of the pivot point (rotation angle) rotates an object in a counter-
clockwise (anti-clockwise) direction.
The negative value of the pivot point (rotation angle) rotates an object in a clockwise
direction.
When the object is rotated, then every point of the object is rotated by the same angle.
Straight Line: Straight Line is rotated by the endpoints with the same angle and
redrawing the line between new endpoints.
Polygon: Polygon is rotated by shifting every vertex using the same rotational angle.
Curved Lines: Curved Lines are rotated by repositioning of all points and drawing of the
curve at new positions.
Circle: It can be obtained by center position by the specified angle.
Ellipse: Its rotation can be obtained by rotating major and minor axis of an ellipse by the
desired angle.
Scaling:
It is used to alter or change the size of objects. The change is done using scaling factors.
There are two scaling factors, i.e. Sx in x direction Sy in y-direction. If the original position
is x and y. Scaling factors are Sx and Sy then the value of coordinates after scaling will be
x1 and y1.
If the picture to be enlarged to twice its original size then Sx = Sy =2. If Sxand Sy are not
equal then scaling will occur but it will elongate or distort the picture.
If scaling factors are less than one, then the size of the object will be reduced. If scaling
factors are higher than one, then the size of the object will be enlarged.
If Sxand Syare equal it is also called as Uniform Scaling. If not equal then called as
Differential Scaling. If scaling factors with values less than one will move the object closer
to coordinate origin, while a value higher than one will move coordinate position farther
from origin.
Reflection:
It is a transformation which produces a mirror image of an object. The mirror image can
be either about x-axis or y-axis. The object is rotated by180°.
Types of Reflection:
1. Reflection about the x-axis
2. Reflection about the y-axis
3. Reflection about an axis perpendicular to xy plane and passing through the origin
4. Reflection about line y=x
1. Reflection about x-axis: The object can be reflected about x-axis with the help of the
following matrix

In this transformation value of x will remain same whereas the value of y will become
negative. Following figures shows the reflection of the object axis. The object will lie
another side of the x-axis.

2. Reflection about y-axis: The object can be reflected about y-axis with the help of
following transformation matrix

Here the values of x will be reversed, whereas the value of y will remain the same. The
object will lie another side of the y-axis.
The following figure shows the reflection about the y-axis
3. Reflection about an axis perpendicular to xy plane and passing through origin:
In the matrix of this transformation is given below

In this value of x and y both will be reversed. This is also called as half revolution about
the origin.
4. Reflection about line y=x: The object may be reflected about line y = x with the help
of following transformation matrix
First of all, the object is rotated at 45°. The direction of rotation is clockwise. After it
reflection is done concerning x-axis. The last step is the rotation of y=x back to its original
position that is counterclockwise at 45°.
Shearing:
It is transformation which changes the shape of object. The sliding of layers of object occur.
The shear can be in one direction or in two directions.
Shearing in the X-direction: In this horizontal shearing sliding of layers occur. The
homogeneous matrix for shearing in the x-direction is shown below:

Shearing in the Y-direction: Here shearing is done by sliding along vertical or y-axis.

Shearing in X-Y directions: Here layers will be slided in both x as well as y direction.
The sliding will be in horizontal as well as vertical direction. The shape of the object will
be distorted. The matrix of shear in both directions is given by:

Common questions

Powered by AI

Translation maintains the congruence of geometric shapes by moving them without altering their size or shape. Scaling maintains similarity by proportionally increasing or decreasing the size of the object, which preserves angles and relative proportions. In contrast, shear does not maintain similarity or congruence, as it distorts the shape by altering angles and parallelism within the object, resulting in a non-proportional transformation .

Translation in 2D geometric transformations involves moving every point of the object by the same amount, defined by a shift vector (Tx, Ty). The new position of each point is calculated by adding the translation distances Tx and Ty to the original coordinates (x, y), resulting in new coordinates (x1, y1). This transformation changes the object's position without altering its shape or orientation .

Uniform scaling occurs when both scaling factors, Sx and Sy, are equal, resulting in a proportional enlargement or reduction of the object without distortion. Differential scaling happens when Sx and Sy are not equal, causing a change in the object’s proportions, leading to elongation or compression along the axis of the larger or smaller scaling factor, respectively .

Rotation about a pivot point changes the object's orientation around a specified point, affecting its spatial positioning. For an ellipse, rotating around its center would involve adjusting the major and minor axes' angles by the specified rotation degree. If the ellipse rotates by 30° counterclockwise around its center, the entire shape with its orientation relative to the major axis moves, creating a new spatial alignment while preserving the ellipse's geometric properties .

Reflection about the line y=x involves first rotating the object 45° clockwise, reflecting it across the x-axis, and then rotating it back 45° counterclockwise. In contrast, reflecting an object directly about the x-axis simply involves changing the sign of its y-coordinates while keeping the x-coordinates unchanged. Thus, reflection about y=x requires a transformation sequence, whereas reflection about the x-axis is a straightforward sign change .

Scaling factors less than one decrease an object's size, causing it to contract towards the origin, reducing its distance from the origin. When scaling factors exceed one, the object grows larger, resulting in its shape expanding and moving farther away from the origin. This positional shift is due to the increase or decrease in coordinate values relative to the scaling factor applied .

In a translation transformation, the translation matrix is applied to the coordinates of a point. The matrix adds the translation vectors (Tx, Ty) directly to the original coordinates (x, y), producing new coordinates (x1, y1) where x1 = x + Tx and y1 = y + Ty. This operation shifts the point's position linearly without altering its dimensions .

Reflection about an axis perpendicular to the xy-plane involves reversing both the x and y coordinates, essentially rotating the object by 180° about the origin. This transformation results in the object appearing on the opposite side of the origin in the 2D plane, as if flipped over an axis that would align perpendicularly to the xy-plane at the origin .

Shearing alters the shape of a 2D object by sliding its layers. Shearing in the x-direction results in a horizontal displacement, where layers slide along a horizontal line. Shearing in the y-direction causes a vertical displacement, with layers sliding upward or downward. When shearing occurs in both directions, layers slide both horizontally and vertically, causing a combination of horizontal and vertical distortions .

During a rotation transformation, each type of geometric shape responds uniquely. For straight lines, the endpoints are rotated, maintaining the line's linearity in the new orientation. Polygons require each vertex to be shifted by the rotation angle, recalculating the edges from these new points. Circles are rotated around their center, maintaining their shape after rotation. Curved lines and ellipses involve repositioning all points along their curve or major/minor axes by the specified angle, preserving their symmetry .

You might also like