2D Geometric Transformations
2D Geometric Transformations
2D Transformations
• Transformation means changing
some graphics into something else by
applying rules.
• Changes in orientation, size and shape.
Translation
Rotation
Scaling
2D Transformations
A new point (x’, y’) shall be generated from an
existing point (x, y)
Actually, only points are transformed!
E.g.
* for a line - the two endpoints
* for a polygon - the vertices
* for a circle - the midpoint
Transformation
Transform every point on an object according to certain rule.
Q (x’, y’)
P (x,y) T
Initial Object
Transformed Object