# find 3d point on a circle given the angle and radius

http://i.stack.imgur.com/7InNo.png

I am trying to find the green points using the angle ,radius and center of the circle. I am using this image that was posted by another member. I wish to find the green points, but in a 3d space instead. I am able to get the x and y value but i am unable to get the z.

r = radius X = r * cos(angle) Y = r * sin(angle)

How can i get the value for z-axis?

## Answers

In the case of 3 dimensions you need 2 angles. Basically what you are doing is converting from spherical coordinates to cartesian coordinates. So your formulas can be found here