SLA_CS2C6

Spherical Pos/Vel to Cartesian

ACTION:
Conversion of position & velocity in spherical coordinates to Cartesian coordinates (single precision).
CALL:
CALL sla_CS2C6 (A, B, R, AD, BD, RD, V)
GIVEN:

A

R

longitude (radians) – for example α

B

R

latitude (radians) – for example δ

R

R

radial coordinate

AD

R

longitude derivative (radians per unit time)

BD

R

latitude derivative (radians per unit time)

RD

R

radial derivative


RETURNED:

V

R(6)

[x, y, z, , , ż]


NOTE:
The spherical coordinates are longitude (+ve anticlockwise looking from the +ve latitude pole) and latitude. The Cartesian coordinates are right handed, with the x-axis at zero longitude and latitude, and the z-axis at the +ve latitude pole.