Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.467 pv2s

pv2s, pv, theta, phi, r, td, pd, rd

[SOFA] Converts position/velocity vector pv (which has 2 elements in its first dimension and 3 elements in its second dimension) from Cartesian to spherical coordinates. The output parameters are: theta = longitude in radians, phi = latitude in radians, r = radial distance, td = rate of change of theta, pd = rate of change of phi, rd = rate of change of r. The output variables get the same dimensions as pv except that the first two dimensions (equal to 2 and 3) are omitted.