1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Rotation Data (Nodes)

  1. Aug 3, 2005 #1
    I had to rotate four nodes x,y,z around the z-axis, then the x-axis using rotation equations and an angle. The whole point of the program is to change the input data into a new coordinate system. I think that my data looks right, but I need a second opinion.

    Input

    x | y | z

    1.| 0.00 | 0.00 | -2.00
    2.| -10.00 | 0.00 | -2.00
    3.| 0.00 | 5.00 | -2.00
    4.| -10.00 | 5.00 | -2.00

    Output

    -10.0000 -0.742781 -1.85695
    0.00000 -0.742781 -1.85695
    -10.000 4.64238 -1.85695
    0.00000 4.64238 -1.85695
     
    Last edited: Aug 3, 2005
  2. jcsd
  3. Aug 3, 2005 #2

    EnumaElish

    User Avatar
    Science Advisor
    Homework Helper

    I am not an expert on this, but as I try to visualize:

    On the room floor, the X axis runs W-E, Y axis runs S-N. Z axis runs floor-ceiling.

    Your 1st node is located on the Z axis 2 inches below the origin. You first rotate it around the Z axis, and it stays where it is. You then rotate it around the X axis, shouldn't its new coordinates be (0,0,+2)?
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook