Question:
rotation + translation <=> rotation?
Mirea
2013-08-09 02:45:37 UTC
I've read on a site about a year ago (unfortunately couldn't find it anymore) that a composite transformation of a body/geometric shape i.e. translation and rotation could be equivalent to a single rotation but about a whole different center.
I need the formula to find this new center and angle when all the translation and initial rotation data are known.
I'm a math newbie (I hardly know matrices) so I'd appreciate a for-dummies answer, as much as the situation allows.
IIRC, it was something as simple as the parallelogram rule in composing vectors.
I found on Wikipedia the transformation matrices and the fact that for a composite transform, you have to multiply the matrices (4 x 4) in the reverse order of respective transforms and just multiply the resulting matrix with the column vector having the coordinates of the point to be transformed.
But this doesn't help me at all, since what I need is the above mentioned correspondence and I can't even tell whether it's physics or math related.
Four answers:
berkeleychocolate
2013-08-10 21:45:22 UTC
This is a special case of the theorem of 3 reflections and you can probably find it under that topic.



In this case you would proceed as follows:Say one does the rotation first.by an angle theta about point P. This can be replaced by two reflections by lines at an angle theta/2 which intersect at P. The translation by a distance t can be replaced by reflections by two parallel lines at a distance of t/2, where the lines are perpendicular to the direction of the translation.



The second line of the rotation can be made equal to the first line of the translation. Thus they cancel in the composition, leaving only the first line of the rotation and the second line of the translation. This is a rotation through the point of intersection of these two lines.
?
2013-08-09 16:04:25 UTC
More complex geometric and coordinate transformation can be built from the basic transformation by using the process of composition of function. Transformation with respect to a selected fixed position (h,k) using a scaling function that can only scale relative to the coordinate origin are:



1) Translate the object so that its center coincides with the origin.

2) Scale the object with respect to origin.

3) Translate the scale object back to the original position.



Thus the scaling with respect to the point can be formed by transformation.



S,P = T•S•T^-1



We can generate rotation about any selected pivot point (x,y) by performing following sequence of translate-rotate-translate operation.



1) Translate the object so that pivot point position is move to the coordinate origin.

2) Rotate the object about the coordinate origin.

3) Translate the object so that the pivot point is returned to the original position.



Thus the rotation about a point P can be formed by the transformation



R = T•R•T^-1



Let line L has a y intercept (0,b) and angle of inclination θ. Then the reflection of an object about a line L needs to follow the following:



1) Translate the intersection point to the origin.

2) Rotate by -θ so that line L align with x-axis.

3) Mirror reflects around the x-axis.

4) Rotate back by θ.

5) Translate the origin back to the point (0,b)



In translation notation, we have



M = T R M R T



Note: We must be able to represent the basic transformation as 3x3 homogeneous coordinate matrices so as to be compatible with the matrix of transformation. This is accomplished by augmenting the 2x2 matrix with the third column [0 0 1] (this supposed be a column).



With the matrix representations of the transformations, we can set up a matrix for any sequence of transformations as a composite transformation matrix by calculating the matrix product of the individual transformations.



If two successive transformations T1 and T2 are applied to a coordinate position P, the final transformed location P' is calculated as:



(P•T1)T2 = P(T1•T2)

= P(T)



Where



T = (T1•T2)



A composite transformation is a sequence of transformations, one followed by the other. Consider the matrices and transformations in the following list:



Matrix A = Rotate 90 degrees

Matrix B = Scale by a factor of 2 in the x direction

Matrix C = Translate 3 units in the y direction



If you start with the point (2, 1) — represented by the matrix [2 1 1] — and multiply by A, then B, then C, the point (2,1) will undergo the three transformations in the order listed.



[2 1 1]ABC = [–2 5 1]



Rather than store the three parts of the composite transformation in three separate matrices, you can multiply A, B, and C together to get a single 3 × 3 matrix that stores the entire composite transformation. Suppose ABC = D. Then a point multiplied by D gives the same result as a point multiplied by A, then B, then C.



[2 1 1]D = [–2 5 1]



The fact that the matrix of a composite transformation can be formed by multiplying the individual transformation matrices means that any sequence of affine transformations can be stored in a single Matrix object.



Note: The order of a composite transformation is important. In general, rotate, then scale, then translate is not the same as scale, then rotate, then translate. Similarly, the order of matrix multiplication is important. In general, ABC is not the same as BAC.



I hope this will answer your question :-)
?
2013-08-12 10:50:38 UTC
I think you're talking about vliewing translations and rotations as projective transformations, in which case, a translation is just a rotation about a point at infinity. If so, then this article should tell you what you want to know.
?
2016-12-03 21:02:28 UTC
It began to positioned a contemplate the wall, yet realized it develop into the incorrect way up so I grew to develop into round it. I replaced my recommendations and keen to slip it over some ft (translation). even as i develop into complete i look contained in the reflect and stated my hair develop right into a multitude (reflection).


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...