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

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?


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

Need Your Help

BootstrapValidator not validating all fields

jquery html bootstrapvalidator

For some reason BootStrapValidator is not validating all the fields in my div and I am not sure why...

Target x button of a window title to an Button.Click event handler?

wpf button event-handling window click

I have in my window a button called btnExit which I handle its event.