I have discovered that the following code produces non numeric
results:

        double thetaX,thetaY;
        Transform3D t1,t2;
        double[] a=new double[4];
        Matrix3d mat=new Matrix3d();
        AxisAngle4d angle=new AxisAngle4d();

        ...

        t1.rotX(thetaX);
        t2.rotY(thetaY);
        t1.mul(t2);
        t1.normalize();
        t1.get(mat);
        angle.set(mat);
        angle.get(a);

        Namely, when thetaX or thetaY = 0, the axis values of angle,
stored in a, are reported as NaN.  It this a problem people are familiar
with?  My method seems straight-forward such that I'm not doing anything
technically wrong.  If anyone has any thoughts on this, they would be much
appreciated.  Thanks.

        DereK

===========================================================================
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".

Reply via email to