Consider a unit square centred at origin. The coordinates of the square are translated by a factor \(\left(\frac{1}{2}, 1\right)\) and rotated by an angle of 90°. What shall be the coordinates of the new square ?
\(\left(\frac{-1}{2}, 0\right), \left(\frac{-1}{2}, 1\right), \left(\frac{-3}{2}, 1\right), \left(\frac{-3}{2}, 0\right)\)
Unit square centred at the origin: \(\left(\pm\frac{1}{2}, \pm\frac{1}{2}\right)\).
Translate by \(\left(\frac{1}{2}, 1\right)\): \(\left(0, \frac{1}{2}\right), \left(1, \frac{1}{2}\right), \left(1, \frac{3}{2}\right), \left(0, \frac{3}{2}\right)\).
Rotate by 90° anticlockwise, \((x, y) \to (-y, x)\): \(\left(-\frac{1}{2}, 0\right), \left(-\frac{1}{2}, 1\right), \left(-\frac{3}{2}, 1\right), \left(-\frac{3}{2}, 0\right)\).
Check: the four points still form a unit square (side 1); lists that mix positive and negative x do not.
Hence, \(\left(\frac{-1}{2}, 0\right), \left(\frac{-1}{2}, 1\right), \left(\frac{-3}{2}, 1\right), \left(\frac{-3}{2}, 0\right)\).
Consider a triangle represented by A(0, 0), B(1, 1), C(5, 2). The triangle is rotated by 45 degrees about a point P(–1, –1). The co-ordinates of the new triangle obtained after rotation shall be _______
Consider a triangle A(0,0), B(1,1) and C(5,2). The triangle has to be rotated by an angle of 45° about the point P(-1, -1). What shall be the coordinates of the new triangle ?
Let us consider that the original point is (x, y) and new transformed point is (x′, y′). Further, Shx and Shy are shearing factors in x and y directions. If we perform the y-direction shear relative to x = xref then the transformed point is given by _______.
A point P(5, 1) is rotated by 90° about a pivot point (2, 2). What is the coordinate of new transformed point P′ ?
A segment is any object described by GKS commands and data that start with CREATE SEGMENT and Terminates with CLOSE SEGMENT command. What functions can be performed on these segments ?
Consider a triangle with co-ordinates points: A(0, 0), B(3, 3) and C(2, 5). When scaling parameter is 2 towards x-axis and 4 towards y-axis, then what are the new co-ordinates of triangle?
Consider a triangle represented by A(0, 0), B(1, 1), C(5, 2). The triangle is rotated by 45 degrees about a point P(–1, –1). The co-ordinates of the new triangle obtained after rotation shall be _______
Consider a triangle A(0,0), B(1,1) and C(5,2). The triangle has to be rotated by an angle of 45° about the point P(-1, -1). What shall be the coordinates of the new triangle ?