1
$\begingroup$

Given two triangle I have the transformation (three rotation followed by three translation)of both the triangles. How can I calculate the transformation between two triangles? A numerical example will help. Thanks in advance!

  • 0
    I don't understand your parenthetical remarks. Is your question "How do calculate a linear transformation of one given triangle into another?" If so, what is the rotation and translation part of your question? Also, if that is your question, you can calculate it by change of basis formulas.2011-05-01
  • 0
    Suppose I have one triangle ABC and another one DEF. ABC has the following transformation(three rotation in radians followed by three translation): 45.1983,-87.0796,44.5519,-7.279,-58.82,-89.988 And DEF has transformation as follows: 88.1941,-21.0735, 53.7017,-24.064,-67.799,-77.009. How to calculate the transformation between these two triangles?2011-05-01
  • 0
    What do you mean the triangle has transformations? I thought maybe you meant symmetries, but I don't see how a translation will give a symmetry, so I am clueless.2011-05-01
  • 0
    I defined a news coordinate system such that point A becomes the origin, x-coordinate is the vector AB, z-coordinate is the cross product of x-coordinate and vector AC, and y -coordinate is the cross product of x and y coordinate. This way you can get a new transformation for the triangle ABC. I defined the same thing for DEF and now I want to superimpose DEF on ABC. How can I calculate the transformation between these two triangles?2011-05-01
  • 0
    I am so sorry but I am still confused as to what you are asking. I am ok with the definition of your triangle ABC. But I still don't know what you mean by transformation.2011-05-02
  • 0
    (45.1983,-87.0796,44.5519,-7.279,-58.82,-89.988) By this transformation I meant to say 45.1983 is the rotation along x-axis, -87.0796 is the rotation along y-axis 44.5519 is the rotation along z-axis -7.279 is the translation along x-axis -58.82 is the translation along y-axis -89.988 is the translation along z-axis2011-05-02
  • 0
    @Irina: please do not use answers to make comments. I have merged your accounts so you should be able to edit your question now; please register so that you won't have to keep starting new accounts.2011-05-02

1 Answers 1

1

When rotating a rigid body into standard position, the three rotations are not one around each spatial axis. One approach is Euler angles. In any case, you would hope to have three single-axis rotation matrices that, when multiplied, give the whole rotation.

Given that this is true, if the matrices for triangle $ABC$ are $R_1,R_2,R_3$ and the translation is $T_1$, and for $DEF$ are $R_4,R_5,R_6,T_2$, and $A'B'C'$ is triangle $ABC$ in standard position (after the rotation/translation) you have $A'B'C'=T_1+R_3R_2R_1ABC=D'E'F'=T_2+R_6R_5R_4DEF$. Then $DEF=R_4^{-1}R_5^{-1}R_6^{-1}(T_1+R_3R_2R_1ABC-T_2)$

  • 0
    Hi thanks for the answer. Can't I move a rigid body along x-axis 45.1983 radians? So why I always need a matrix to represent it?2011-05-03
  • 0
    If you translate it along $x$, you don't need radians-that is an angle. If you do your rotations around fixed space directions, I believe there are positions you cannot achieve, but am not sure.2011-05-03