- #1
lemonCBI
- 2
- 0
I am writing some code in which I am working with ellipsoids. The ellipsoids can be rotated in its body frame with three angles (First rotation is about the z-axis in the body frame, second is about the y-axis in the body frame, and finally another rotation about the z-axis in the body frame). In addition, a group of ellipsoids can be rotated together. This means an individual ellipsoid is rotated in the same manner as before except the point of rotation is not necessarily the center of the ellipse.
My question is how do I calculate the 3 angles (Z-Y-Z) that describe the position an ellipsoid that has experienced both rotations? I have the 3 angles of the body rotation, the 3 angles of second rotation, and the displacement of the ellipsoid center from the point of rotation.
Also, in trying to figuring this out I was wondering if an ellipsoid's position has unique set of angles to describe it or if there are several correct answers (besides multiples of 360)
My question is how do I calculate the 3 angles (Z-Y-Z) that describe the position an ellipsoid that has experienced both rotations? I have the 3 angles of the body rotation, the 3 angles of second rotation, and the displacement of the ellipsoid center from the point of rotation.
Also, in trying to figuring this out I was wondering if an ellipsoid's position has unique set of angles to describe it or if there are several correct answers (besides multiples of 360)