Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 400 Bytes

era.s2c.md

File metadata and controls

23 lines (17 loc) · 400 Bytes

eraS2c

c = ERFA.s2c(theta, phi)

Convert spherical coordinates to Cartesian.

Given:

   theta    double       longitude angle (radians)
   phi      double       latitude angle (radians)

Returned:

   c        double[3]    direction cosines

This revision: 2021 May 11

Copyright (C) 2013-2021, NumFOCUS Foundation. Derived, with permission, from the SOFA library.