Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4
    • Labels:
    • Environment:

      Windows 7, Eclipse, Java SE 1.7

      Description

      Hello,

      this is my problem:

      myAngle = 0.3490658503988659

      The angle is created with FastMath.toRadians(20).

      myRotation = new Rotation(RotationOrder.XYZ, 0, 0, myAngle);

      if I use this on my Vector3D myVector = new Vector3D(4,4,4) with myRotation.applyInverseTo(myVector) I'm get the result

      x = 5.1268510564463075
      y = 2.390689909840958
      z = 3.999999999999999 (using the .getX() getY() and getZ() functions)

      Im working with double values, but after the rotation just around the axis z, the z value of my vector shouldn't have changed, but it does. Maybe it is not a bug but a wrong result after a simple rotation, or did I use the rotation in a wrong way?

      Best regards

      Frank

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cesFrank Frank A
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: