Sun position
Sun position algorithm
|
sky1.h - astronomical coordinate conversion routines, IAU 1980
void planet_getApparent(double j2kTT_cy, Sky_TrueEquatorial *pos)
Calculate the position of the currently selected planet as a unit vector and a distance,...
This structure contains relatively constant data, and is set up by one of the three functions sky_ini...
void planet_getApp2(double t_cy, int np, const Sky1_Nut1980 *nut, V3D_Vector *appV, double *dist_au)
This function calculates the specified planet's position in apparent coordinates, using the planet_ge...
Nutation angles and obliquity.
void planet_getTopocentric(double j2kUtc_d, const Sky_DeltaTs *deltas, const Sky_SiteProp *site, Sky_SiteHorizon *topo)
Calls planet_getApparent() to calculate the planet's position in apparent coordinates,...
Struct used for holding an object's coordinates in equatorial apparent or Intermediate coordinates.
int planet_getHeliocentric(double t_cy, int np, V3D_Vector *j2kV_au, V3D_Vector *velV_aupd)
Calculates an approximate heliocentric position of the selected planet.
void planet_getGeocentric(double t_cy, int np, V3D_Vector *p2V, double *dist_au)
Calculates an approximate position of the selected planet as seen from the centre of the earth.
void planet_setCurrent(int np)
Stores the selected planet number np in internal storage for later use by planet_getApparent() or pla...
sky.h - structures and routines for astronomical observing & tracking
vectors3d.h - Three dimensional geometry, vectors and matrices
Coordinates of a celestial object in the horizon frame, in both rectangular and polar forms.