-
Notifications
You must be signed in to change notification settings - Fork 12
/
moontimes.h
37 lines (26 loc) · 1.12 KB
/
moontimes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*=======================================================================
solunar
moontimes.h
(c)2005-2012 Kevin Boone
=======================================================================*/
#pragma once
#include "datetime.h"
#include "latlong.h"
extern double MoonTimes_synmonth;
extern void MoonTimes_get_moon_state_jd (double jd, double *phase,
double *age, double *distance);
extern void MoonTimes_get_lunar_ephemeris (double mjd,
double *ra, double *dec);
extern double MoonTimes_getSinAltitude (double longitude,
double latitude, double mjd);
void MoonTimes_get_moon_state (const DateTime *date, double *phase,
double *age, double *distance);
const char *MoonTimes_get_phase_name (double phase);
void MoonTimes_get_moon_rises (const LatLong *latlong, DateTime *start,
DateTime *end, int interval, DateTime *events[], int max_events,
int *nevents);
void MoonTimes_get_moon_sets (const LatLong *latlong, DateTime *start,
DateTime *end, int interval, DateTime *events[], int max_events,
int *nevents);
double MoonTimes_get_SA (const LatLong *latlong,
const DateTime *datetime);