![]() |
Geo Stars Library
0.9.3
Geodetic and Astrometry library
|

Go to the source code of this file.
Macros | |
| #define | oe_base (23.0+(26.0/60.0)+(21.448/3600.0)) |
Functions | |
| int | jday (int month, int day) |
| double | ip (double x) |
| double | fractionalYearRad (int month, int day, int hour) |
| double | n (int month, int day, int hour, int min, int sec) |
| double | JD (int year, int month, int day) |
| int | geoSunPosition (GEO_LOCATION *loc, double *az, double *el) |
| this routine uses ANSI C time routines to obtain the current time and then get the az and el of the sun at this location More... | |
| int | geoSun (GEO_LOCATION *loc, struct tm *newtime, double *az, double *el) |
| int | geoSunM (GEO_LOCATION *loc, struct tm *newtime, double *az, double *el) |
| double | obliquity (double t) |
| int | geoSunAA (GEO_LOCATION *loc, struct tm *newtime, double *az, double *el) |
| #define oe_base (23.0+(26.0/60.0)+(21.448/3600.0)) |
Definition at line 444 of file geoSun.c.
Referenced by obliquity().
| double fractionalYearRad | ( | int | month, |
| int | day, | ||
| int | hour | ||
| ) |
| int geoSun | ( | GEO_LOCATION * | loc, |
| struct tm * | newtime, | ||
| double * | az, | ||
| double * | el | ||
| ) |
Definition at line 98 of file geoSun.c.
References GEO_LOCATION::clat, DEG_TO_RAD, fractionalYearRad(), GEO_OK, GEO_LOCATION::lon, RAD_TO_DEG, GEO_LOCATION::slat, and GEO_LOCATION::timezone.
Referenced by geoSunPosition().

| int geoSunAA | ( | GEO_LOCATION * | loc, |
| struct tm * | newtime, | ||
| double * | az, | ||
| double * | el | ||
| ) |
Definition at line 482 of file geoSun.c.
References c, DEG_TO_RAD, JD(), obliquity(), RAD_TO_DEG, and GEO_LOCATION::timezone.

| int geoSunM | ( | GEO_LOCATION * | loc, |
| struct tm * | newtime, | ||
| double * | az, | ||
| double * | el | ||
| ) |
Definition at line 158 of file geoSun.c.
References GEO_LOCATION::clat, DEG_TO_RAD, GEO_LOCATION::dst, GEO_OK, JD(), jday(), GEO_LOCATION::lon, M_PI, RAD_TO_DEG, GEO_LOCATION::slat, GEO_LOCATION::timezone, and TWO_PI.

| int geoSunPosition | ( | GEO_LOCATION * | loc, |
| double * | az, | ||
| double * | el | ||
| ) |
this routine uses ANSI C time routines to obtain the current time and then get the az and el of the sun at this location
| GEO_LOCATION | *loc : Location structure |
| double | *az : Azimuth in decimal degrees |
| double | *el : Elevation in decimal degrees |
| GEO_OK | on success |
| GEO_ERROR | on error |
Definition at line 84 of file geoSun.c.
References GEO_OK, and geoSun().

| double ip | ( | double | x) |
| double JD | ( | int | year, |
| int | month, | ||
| int | day | ||
| ) |
Definition at line 50 of file geoSun.c.
References ip().
Referenced by geoSunAA(), and geoSunM().

| int jday | ( | int | month, |
| int | day | ||
| ) |
Definition at line 17 of file geoSun.c.
Referenced by fractionalYearRad(), geoMagGetDec(), geoMagGetDecRet(), geoSunM(), and n().
| double n | ( | int | month, |
| int | day, | ||
| int | hour, | ||
| int | min, | ||
| int | sec | ||
| ) |
Definition at line 45 of file geoSun.c.
References jday().
Referenced by geoEfg2Llh_aa(), geoEfg2Llh_aa_fast(), geoEfg2Llh_bowring(), geoEfg2Llh_bowring_fast(), geoEfg2Llh_hm(), geoEfg2Llh_hm_fast(), geoEfg2Llh_toms(), geoEfg2Llh_torge(), geoEfg2Llh_torge_fast(), geoMagInit(), and geomg1().

| double obliquity | ( | double | t) |
1.8.4