sys1 | A character string specifying the system in which the values passed in coord1 were determined. The possible character strings and their meanings are: CARTESIAN - Cartesian coordinates (x, y, and z). CYLINDRICAL - Cylindrical coordinates (radius, theta, and z). SPHERICAL - Spherical coordinates (radius, phi, and theta). Note: Do not confuse this phi and theta with the Euler angles named phi and theta. |
coord1 | A double-precision array containing the coordinates to be converted. Angles should be input in radians. |
sys2 | A character string specifying the system in which the values returned as output in coord2 are to be determined. Possible character strings are the same as those for sys1. |
coord2 | The converted coordinates as output. Angles are output in radians. |
istat | An integer variable indicating either the success or the reason for the failure of the call to TCNVRT. ![]() |