- #1
James_1978
- 37
- 3
Dear Forum,
My goal is to rotate several points on a sphere by a theta and phi. For example, I have a sphere where the elevation is theta (90 to -90) and the azimuthal is phi (-180 to 180). I have the following points on the sphere:
theta = [45 45 45 45]
phi = [-180 90 90 180]
This generate several points to define a circle on the top of the circle. My goal is to rotate the four points by theta 115 (or theta = -25) and phi 160. With this the center of the circle will have the vector (theta=115,phi=160) and the four points will be around the center and new theta,phi locations.
I have been unsuccessful trying trying to do this with a rotation matrix. I appreciate any ideas to help me solve this problem.
Regards,
JC
My goal is to rotate several points on a sphere by a theta and phi. For example, I have a sphere where the elevation is theta (90 to -90) and the azimuthal is phi (-180 to 180). I have the following points on the sphere:
theta = [45 45 45 45]
phi = [-180 90 90 180]
This generate several points to define a circle on the top of the circle. My goal is to rotate the four points by theta 115 (or theta = -25) and phi 160. With this the center of the circle will have the vector (theta=115,phi=160) and the four points will be around the center and new theta,phi locations.
I have been unsuccessful trying trying to do this with a rotation matrix. I appreciate any ideas to help me solve this problem.
Regards,
JC