Functions | |
| double LIBNOVA_EXPORT | ln_get_lunar_sdiam (double JD) |
| Calculate the semidiameter of the Moon in arc seconds. | |
| int LIBNOVA_EXPORT | ln_get_lunar_rst (double JD, struct ln_lnlat_posn *observer, struct ln_rst_time *rst) |
| Calculate the time of rise, set and transit for the Moon. | |
| void LIBNOVA_EXPORT | ln_get_lunar_geo_posn (double JD, struct ln_rect_posn *moon, double precision) |
| Calculate the rectangular geocentric lunar cordinates. | |
| void LIBNOVA_EXPORT | ln_get_lunar_equ_coords_prec (double JD, struct ln_equ_posn *position, double precision) |
| Calculate lunar equatorial coordinates. | |
| void LIBNOVA_EXPORT | ln_get_lunar_equ_coords (double JD, struct ln_equ_posn *position) |
| Calculate lunar equatorial coordinates. | |
| void LIBNOVA_EXPORT | ln_get_lunar_ecl_coords (double JD, struct ln_lnlat_posn *position, double precision) |
| Calculate lunar ecliptical coordinates. | |
| double LIBNOVA_EXPORT | ln_get_lunar_phase (double JD) |
| Calculate the phase angle of the Moon. | |
| double LIBNOVA_EXPORT | ln_get_lunar_disk (double JD) |
| Calculate the illuminated fraction of the Moons disk. | |
| double LIBNOVA_EXPORT | ln_get_lunar_earth_dist (double JD) |
| Calculate the distance between the Earth and the Moon. | |
| double LIBNOVA_EXPORT | ln_get_lunar_bright_limb (double JD) |
| Calculate the position angle of the Moon's bright limb. | |
| double LIBNOVA_EXPORT | ln_get_lunar_long_asc_node (double JD) |
| Calculate the longitude of the Moon's mean ascending node. | |
| double LIBNOVA_EXPORT | ln_get_lunar_long_perigee (double JD) |
| Calculate the longitude of the Moon's mean perigee. | |
All angles are expressed in degrees.
| double ln_get_lunar_bright_limb | ( | double | JD | ) |
Calculate the position angle of the Moon's bright limb.
Calculate the position angle of the Moon's bright limb.
Calculates the position angle of the midpoint of the illuminated limb of the moon, reckoned eastward from the north point of the disk.
| JD | Julian Day |
References ln_equ_posn::dec, ln_deg_to_rad(), ln_get_lunar_equ_coords(), ln_get_solar_equ_coords(), ln_rad_to_deg(), ln_range_radians(), and ln_equ_posn::ra.
| double ln_get_lunar_disk | ( | double | JD | ) |
Calculate the illuminated fraction of the Moons disk.
Calculate the illuminated fraction of the moons disk
Calculates the illuminated fraction of the Moon's disk.
| JD | Julian Day |
References ln_deg_to_rad(), and ln_get_lunar_phase().
| double ln_get_lunar_earth_dist | ( | double | JD | ) |
Calculate the distance between the Earth and the Moon.
| JD | Julian Day |
References ln_get_lunar_geo_posn(), ln_rect_posn::X, ln_rect_posn::Y, and ln_rect_posn::Z.
Referenced by ln_get_lunar_phase(), and ln_get_lunar_sdiam().
| void ln_get_lunar_ecl_coords | ( | double | JD, | |
| struct ln_lnlat_posn * | position, | |||
| double | precision | |||
| ) |
Calculate lunar ecliptical coordinates.
| JD | Julian Day | |
| position | Pointer to a struct ln_lnlat_posn to store result. | |
| precision | The truncation level of the series in radians for longitude and latitude and in km for distance. (Valid range 0 - 0.01, 0 being highest accuracy) |
References ln_lnlat_posn::lat, ln_get_lunar_geo_posn(), ln_rad_to_deg(), ln_range_degrees(), ln_lnlat_posn::lng, ln_rect_posn::X, ln_rect_posn::Y, and ln_rect_posn::Z.
Referenced by ln_get_lunar_equ_coords_prec(), and ln_get_lunar_phase().
| void ln_get_lunar_equ_coords | ( | double | JD, | |
| struct ln_equ_posn * | position | |||
| ) |
Calculate lunar equatorial coordinates.
| JD | Julian Day | |
| position | Pointer to a struct ln_lnlat_posn to store result. |
References ln_get_lunar_equ_coords_prec().
Referenced by ln_get_lunar_bright_limb(), and ln_get_lunar_rst().
| void ln_get_lunar_equ_coords_prec | ( | double | JD, | |
| struct ln_equ_posn * | position, | |||
| double | precision | |||
| ) |
Calculate lunar equatorial coordinates.
| JD | Julian Day | |
| position | Pointer to a struct ln_lnlat_posn to store result. | |
| precision | The truncation level of the series in radians for longitude and latitude and in km for distance. (Valid range 0 - 0.01, 0 being highest accuracy) |
References ln_get_equ_from_ecl(), and ln_get_lunar_ecl_coords().
Referenced by ln_get_lunar_equ_coords().
| void ln_get_lunar_geo_posn | ( | double | JD, | |
| struct ln_rect_posn * | pos, | |||
| double | precision | |||
| ) |
Calculate the rectangular geocentric lunar cordinates.
| JD | Julian day. | |
| pos | Pointer to a geocentric position structure to held result. | |
| precision | The truncation level of the series in radians for longitude and latitude and in km for distance. (Valid range 0 - 0.01, 0 being highest accuracy) |
This function is based upon the Lunar Solution ELP2000-82B by Michelle Chapront-Touze and Jean Chapront of the Bureau des Longitudes, Paris.
References ln_rect_posn::X, ln_rect_posn::Y, and ln_rect_posn::Z.
Referenced by ln_get_lunar_earth_dist(), and ln_get_lunar_ecl_coords().
| double ln_get_lunar_long_asc_node | ( | double | JD | ) |
Calculate the longitude of the Moon's mean ascending node.
| JD | Julian Day. |
| double ln_get_lunar_long_perigee | ( | double | JD | ) |
Calculate the longitude of the Moon's mean perigee.
| JD | Julian Day |
| double ln_get_lunar_phase | ( | double | JD | ) |
Calculate the phase angle of the Moon.
| JD | Julian Day |
References ln_lnlat_posn::lat, ln_deg_to_rad(), ln_get_earth_solar_dist(), ln_get_lunar_earth_dist(), ln_get_lunar_ecl_coords(), ln_get_solar_ecl_coords(), ln_rad_to_deg(), and ln_lnlat_posn::lng.
Referenced by ln_get_lunar_disk().
| double ln_get_lunar_rst | ( | double | JD, | |
| struct ln_lnlat_posn * | observer, | |||
| struct ln_rst_time * | rst | |||
| ) |
Calculate the time of rise, set and transit for the Moon.
| JD | Julian day | |
| observer | Observers position | |
| rst | Pointer to store Rise, Set and Transit time in JD |
Note: this functions returns 1 if the Moon is circumpolar, that is it remains the whole day either above or below the horizon.
References ln_get_body_rst_horizon(), and ln_get_lunar_equ_coords().
| double ln_get_lunar_sdiam | ( | double | JD | ) |
Calculate the semidiameter of the Moon in arc seconds.
| JD | Julian day |
References ln_get_lunar_earth_dist().
1.5.8