next up previous 269
Next: SLA_CTF2D - Hour,Min,Sec to Days
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_CS2C - Spherical to Cartesian


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 $\alpha$
B R latitude (radians) - for example $\delta$
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,\dot{x},\dot{y},\dot{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.


next up previous 269
Next: SLA_CTF2D - Hour,Min,Sec to Days
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_CS2C - Spherical to Cartesian

SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
19 December 2005
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council