x=rsinA.cosB

y=rsinA.sinB

z=rcos A

1) r is the distance of the point from centre of sphere which is origin.

2) z-axis makes angle A with r .

3) Projection of r on x-y plane makes an angle B with x-axis.

4) Locus of points of same r making same angle A with z-axis makes a circle parallel to the circle in x-y plane with r as radius .

5) For 360> angle > 180 , use sin(180+A) = - sinA and cos (180 + A ) = - cosA;