I have the following question: First I have a global coordinate system x y and z. Second I have a plane defined somewhere in this coordinate system, I also have the normal vector of this plane. Assuming that the plane originally was lying in the xy plane and the normal vector of the plane was pointing in the same direction as global Z: How can I calculate the three rotation-angles around the x y and z axis by which the plane was rotated to its current position? I have read This question but I do not understand the solution, since math is not directly my top skill. If anyone knows a good TCL library that can be used to program this task, please let me know. A numerical example for the normal vector ( 8 -3 2 ) would probably greatly increase my chance of understanding a solution. Thanks!
What I have tried: I projected the normal vector on each of the global planes and calculated the angle between the x y z axis. If I use this angles in a rotationmatrix i have (and Im sure it is correct) and trie to rotate the original vector by these three angles I do not get the result I was hoping for....
The manner in which the rotation is achieved is not persay a "three axis rotation", which implies a sequence of rotations applied to a rigid body's axes, but the result is the same.
– A.E Jun 30 '13 at 00:25