0% found this document useful (0 votes)
69 views

Geometric Transformations PDF

This document discusses different types of geometric transformations including object transformations like translation, rotation, and scaling as well as coordinate system transformations. It provides examples of scaling a triangle by a factor of 2, translating a rectangle by adding 40 units to the x-coordinate and 30 units to the y-coordinate, and rotating a point P(40,20) about the origin by 45 degrees. Geometric transformations are used to alter the size, position, and orientation of objects.
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)
69 views

Geometric Transformations PDF

This document discusses different types of geometric transformations including object transformations like translation, rotation, and scaling as well as coordinate system transformations. It provides examples of scaling a triangle by a factor of 2, translating a rectangle by adding 40 units to the x-coordinate and 30 units to the y-coordinate, and rotating a point P(40,20) about the origin by 45 degrees. Geometric transformations are used to alter the size, position, and orientation of objects.
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
You are on page 1/ 4

Geometric Transformations

 Alternatives
 Object transformation - Our focus area is object transformation…
 Coordinate system transformation
 Object transformation types
 Euclidean transformation e.g. Translation, rotation, reflection
 Affine transformation e.g. Scaling, shear

 Projective transformation - Most general linear transformations that use homogenous coordinates
…Object transformations
 Scaling
 Changing the dimensions to alter the size of drawing
 For example we have a triangle with vertices A=(4,0), B=(1,2) & C=(3,5). By using a scaling
factor of 2, the scaling matrix would be , , Sx being the scaling factor in X axis, Sy-in Y
axis
Point A would become [4 0] 2 0

0 2 = [8 0] = A1

Point B would become [1 2] ] 2 0

0 2 = [2 4] = B1

Point C [3 5 ] 2 0

0 2 = [6 10] = C1
Translation
 Moving a drawing or model across the screen is called translation.
 Accomplished by adding a moving distance to the coordinates of each corner point
 e.g. A rectangle being moved by adding 40 units to X coordinate and 30 units in Y
coordinate
 To translate by (Tx, Ty), every points’ X & Y will be replaced as
 X1 = X + Tx
 Y1 = Y + Ty

X1 = 10+40=50 ; Y1=10+30=40
(1,1)  (5,4)
Rotation
 Rotation about a fixed pivot point
 Lets consider a point P(40,20) is to be rotated about origin through an angle of 45o
 The rotation matrix to be deployed is

 Computation of new coordinate P’ will be [40 20] cos45 sin45


 -sin 45 cos 45
= [14.14 42.42]

You might also like