Hi,
Have you tried multiplying the matrix of each of these rotations to
get the resulting single rotation? That is:
let's say we have three rotations as follows:
rotation 1 0 0 x
rotation 0 1 0 y
rotation 0 0 1 z
you put them together by doing:
Transform3D xrotation = new Transform3D();
Transform3D yrotation = new Transform3D();
Transform3D zrotation = new Transform3D();
Transform3D totalrotation = new Transform3D();
xrotation.rotX(x);
yrotation.rotY(y);
zrotation.rotZ(z);
totalrotation.mul(xrotation);
totalrotation.mul(yrotation);
totalrotation.mul(zrotation);
totalrotation should now contain the matrix with the single rotation
representing the three rotations. It should but I'm not sure if it
would!
Mojtaba
Peter Woodward wrote:
>
> Hello,
>
> I have a set of three rotations around the standar xyz axes. I wish to
> concatonate them into a single rotation - I understood this to be called
> Eigen axis- I guess there must be an algorithm, I believe the
> aeronautical/space community need to do this. I've had a look at Matrix
> and various other FAQ's to no avail.
>
> Does anybody out there have an algorithm or c/c++/java/j3d method ?
>
> Thanks in advance.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".