Converts between rectangular, cylindrical, and spherical coordinates. This program has a restriction where one needs a unique set of coordinates for each point. Restricting the radius to be non-negative (ρ ≥ 0), the azimuth 'θ' to lie in a specific interval spanning 360° or 2π, such as (-180°,+180°] or (-π,+π] and inclination 'φ' to specific a interval spanning 180° or π, such as [0°,180°] or [0,π]. |