pub fn s2pv(
theta: f64,
phi: f64,
r: f64,
td: f64,
pd: f64,
rd: f64,
) -> [[f64; 3]; 2]Expand description
Convert position/velocity from spherical to Cartesian coordinates.
This function is part of the International Astronomical Union’s SOFA (Standards of Fundamental Astronomy) software collection.
Status: vector/matrix support function.
Given:
theta double longitude angle (radians)
phi double latitude angle (radians)
r double radial distance
td double rate of change of theta
pd double rate of change of phi
rd double rate of change of rReturned:
pv double[2][3] pv-vector