Converts rectangularcoordinates (points) to polar, cylindrical, or one of two spherical coordinate systems: mathematical or global.
vec2
vec3
If the Sphere keyword is present and nonzero, mathematical spherical coordinates are returned as in the default case, except that the latitude angles are given with respect to the vertical, or polar, axis.
If the Polar keyword is present and nonzero, then a FLOAT(2, n) array is returned with (0, *) containing the angles and (1, *) containing the radii.
If the Cylin keyword is present and nonzero, then a FLOAT(3, n) array is returned with (0, *) containing the angles, (1, *) containing the radii, and (2, *) containing the Z values.
Degrees
Global
Polar
Sphere