This translation is achieved by adding the translation coordinates to the old coordinates of the object as-. Apply the translation with the distance 1 towards X axis, 1 towards Y axis and 2 towards Z axis and obtain the new coordinates of the object. Given a circle C with radius 10 and center coordinates 1, 4. Apply the translation with distance 5 towards X axis and 1 towards Y axis.
Obtain the new coordinates of C without changing its radius. Given a square with coordinate points A 0, 3 , B 3, 3 , C 3, 0 , D 0, 0. The X-Shear preserves the Y coordinate and changes are made to X coordinates, which causes the vertical lines to tilt right or left as shown in below figure. The Y-Shear preserves the X coordinates and changes the Y coordinates which causes the horizontal lines to transform into lines which slopes up or down as shown in the following figure.
If a transformation of the plane T1 is followed by a second plane transformation T2, then the result itself may be represented by a single transformation T which is the composition of T1 and T2 taken in that order. Composite transformation can be achieved by concatenation of transformation matrices to obtain a combined transformation matrix. The change in the order of transformation would lead to different results, as in general matrix multiplication is not cumulative, that is [A].
The basic purpose of composing transformations is to gain efficiency by applying a single composed transformation to a point, rather than applying a series of transformation, one after another. Arnab Chakraborty. Abhilash Nelson. Abhishek And Pukhraj.
Previous Page. Next Page. Useful Video Courses. Computer Organization Lectures More Detail. For each point of the polygon. Draw the polygon using new coordinates. Below is C implementation:.
Next 2D Transformation Rotation of objects. Recommended Articles. Article Contributed By :. Easy Normal Medium Hard Expert. Writing code in comment? Please use ide. Load Comments.
0コメント