Types of Coordinate Transformations Translation and Rotation about
Types of Coordinate Transformations: Translation and Rotation about Origin Subject: Computer Graphics By: Dr. Piyush Kumar Singh Coordinate Transformations 1
Coordinate Transformation: q. Let us consider that there are two coordinate systems in the plane. 1. with the origin at O & axis xy 2. with the origin O’ and axis x’y’ q. Now each point in the plane has two coordinate descriptions: (x, y) and (x’, y’) depending on which coordinate system is used. q Suppose second system x’y’ is arising from transformation applied to the first system xy, we say a coordinate transformation. q. This transformation is described by determining relationship between (x’, y’) coordinate and (x, y) coordinate of a same point P. Coordinate Transformations 2
Basic Coordinate transformations: ØTranslation ØRotation about the origin ØScaling with respect to origin ØMirror reflection about axis Coordinate Transformations 3
Translation: • Coordinate Transformations 4
Translation: • Coordinate Transformations 5
Translation: Coordinate Transformations 6
Rotation about the Origin: • Coordinate Transformations 7
Rotation about the Origin: • Coordinate Transformations 8
Rotation about the Origin: Coordinate Transformations 9
References: • Donald Hearn and M. Pauline Baker, “Computer Graphics C Version‟, Prentice – Hall of India • Zhigang Xiang and Roy A Plastok, “Computer Graphics” Tata Mc. Graw Hill Education Private Limited, Second Edition Coordinate Transformations 10
Thank You Coordinate Transformations 11
- Slides: 11