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 _______.
x′ = x
y′ = Shy (x – xref) + y
A shear slants an object. A y-direction shear changes only the y coordinate, by an amount proportional to the point's distance from a reference line; the x coordinate is left unchanged.
Step 1 — For a y-direction shear relative to the vertical line \(x = x_{ref}\), points on that line must stay fixed, so the displacement is proportional to \(x - x_{ref}\).
Step 2 — The transformation is \(x' = x\) and \(y' = y + Sh_y\,(x - x_{ref})\), which in matrix form is \(\begin{bmatrix}1 & 0 & 0 \\ Sh_y & 1 & -Sh_y\,x_{ref} \\ 0 & 0 & 1\end{bmatrix}\).
Step 3 — Check: a point with \(x = x_{ref}\) gives \(y' = y\), so the reference line is unchanged, as required.
The pair that changes x by \(Sh_x (y - y_{ref})\) and keeps y is an x-direction shear about \(y = y_{ref}\). Multiplying y by \(Sh_x\) is a scaling, not a shear, and the pair that multiplies y by \((x - x_{ref})\) is not a linear shear at all.
x′ = x, y′ = Shy (x – xref) + y option is correct.
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 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 ?
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 ?
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 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 ?