Sun position
Sun position algorithm
|
double sky0_gmSiderealTimeSpa(double du)
Calculate the Greenwich mean sidereal time using the algorithm from the NREL SPA document.
void sky0_nutationSpa(double t_cy, Sky0_Nut1980 *nut)
Calculates the nutation in longitude and obliquity, according to the algorithm set out in the NREL SP...
void sky0_appToTirs(const V3D_Vector *appV, double j2kUT1_d, double eqEq_rad, V3D_Vector *terInterV)
Convert a position in geocentric apparent coordinates to geocentric coordinates in the Terrestrial In...
double dPsi_rad
Nutation in longitude (Δψ) (radian)
double dEps_rad
Nutation in obliquity (Δε) (radian)
void sky0_epsilonSpa(double t_cy, Sky0_Nut1980 *nut)
Calculate the obliquity of the ecliptic and the equation of the equinoxes.
double eps0_rad
Mean obliquity of ecliptic at date (ε0)(radian)
Nutation angles and obliquity.
vectors3d.h - Three dimensional geometry, vectors and matrices
double eqEq_rad
Equation of the Equinoxes (radian)