Transformations - Practice Problems For CAD
Transformations - Practice Problems For CAD
UNIT-1: Transformations
3. Consider the cube with one corner removed shown below. The position
vectors are: A(2,1,2),B(3,1,2), C(3,1.5,2), D(2.5,2,2), E(2,2,2), F(2,1,1),
G(3,1,1), H(3,2,1), I(2,2,1), J(3,2,1.5). Find the transformation matrix to
reflect the cube through the plane containing the ∆CDJ. Verify your
answers by writing the code in the Matlab. Show the plots generated in
Matlab.
5. What is a rigid body transformation? What Kind of transformation matrix
ensures rigid body transformation? Provide the proof
7. Which are the transformations that do not preserve shape and size?
Mention corresponding transformation matrices in 3D.
10. The corners of wedge-shaped block are A (0, 0, 2), B (0, 0, 3), C (0, 2, 3),
D (0, 2, 2), E (-1, 2, 2) and F (-1, 2, 3), and the reflection plane passes
through the y-axis at 450 between (-x) and z-axis. Determine the reflection
of the wedge.
13. Consider two lines L1: y = c and L2: y = mx +c which intersect at point C
on y-axis. The angle between these lines can be found easily. A point
P(x1; y1) is first reflected through L1 and subsequently through L2. Show
that this is equivalent to rotating the point P about the intersection point
C by 2.
15. Mention two ways of expressing the scaling matrix if the scaling is
uniform in all three directions? How both the matrices are equivalent?
16 Show with a proof that transformation matrix has to be orthogonal to
preserve the shape and size of an object.
17. Consider the triangle ABC with A (4, 1), B (5, 2) and C (4, 3). Compute
transformation matrix to reflect the triangle about x-axis followed by a
reflection about a line y=-x.
19. Derive the matrix for rotation of a point P about the Z-axis in 2D.
20. Prove that if a point to be rotated about a given axis of rotation lies on the
axis, the point does not change position in space and, therefore, its
coordinates do not change.
21. For what values of A does the following matrix represent pure rotation
and for what values does it represent pure reflection?
22. Derive the transformation matrix and find the angles involved in the
process of diametric projection of an object if the shrinkage is 50% in the
z-direction.
24. What are rigid-body transformation and identify three unique applications
of the same in engineering?
25. Given the points of an object before and after a transformation, one can
reconstruct the transformation matrix from them. Consider four points P 1
= (0,0), P2 = (0,1), P3 = (1,1), and P4= (1,0) which are transformed to P1*
= (0,0), P2*= (2,3), P3*=(8,4), P4*=(6,1) using a transformation matrix, T.
Find/reconstruct T?
26. Prove that three successive shearings about the x, y, and x axes is
equivalent to a rotation about the origin.
27. Which 3D transformation matrix has all the diagonal elements equal to 1?
Is it a rigid body transformation? Justify your answer.
30 𝑎 0
(a) Matrix [ ] scales an object by factors a and d along the x and y
0 𝑑
axes, respectively. Find the matrix to scale the object by the same factors,
but in the i and j directions show in the below figure.