26 #ifndef __SUNPOSITION_H__
27 #define __SUNPOSITION_H__
33 #define M_PI 3.14159265358979323846264338327950288
69 SunSet(
double,
double,
int);
70 SunSet(
double,
double,
double);
91 [[deprecated(
"UTC specific calls may not be supported in the future")]]
double calcSunriseUTC();
92 [[deprecated(
"UTC specific calls may not be supported in the future")]]
double calcSunsetUTC();
99 double degToRad(
double)
const;
100 double radToDeg(
double)
const;
101 double calcMeanObliquityOfEcliptic(
double)
const;
102 double calcGeomMeanLongSun(
double)
const;
103 double calcObliquityCorrection(
double)
const;
104 double calcEccentricityEarthOrbit(
double)
const;
105 double calcGeomMeanAnomalySun(
double)
const;
106 double calcEquationOfTime(
double)
const;
107 double calcTimeJulianCent(
double)
const;
108 double calcSunTrueLong(
double)
const;
109 double calcSunApparentLong(
double)
const;
110 double calcSunDeclination(
double)
const;
111 double calcHourAngleSunrise(
double,
double,
double)
const;
112 double calcHourAngleSunset(
double,
double,
double)
const;
113 double calcJD(
int,
int,
int)
const;
114 double calcJDFromJulianCent(
double)
const;
115 double calcSunEqOfCenter(
double)
const;
116 double calcAbsSunrise(
double)
const;
117 double calcAbsSunset(
double)
const;
double calcNauticalSunrise() const
Definition: sunset.cpp:433
double calcSunsetUTC()
Definition: sunset.cpp:378
static constexpr double SUNSET_NAUTICAL
Definition: sunset.h:74
double setCurrentDate(int, int, int)
Definition: sunset.cpp:508
void setPosition(double, double, int)
Definition: sunset.cpp:93
double calcNauticalSunset() const
Definition: sunset.cpp:444
double calcCivilSunrise() const
Definition: sunset.cpp:411
SunSet()
Definition: sunset.cpp:35
static constexpr double SUNSET_ASTONOMICAL
Definition: sunset.h:76
int moonPhase() const
Definition: sunset.cpp:582
double calcAstronomicalSunset() const
Definition: sunset.cpp:400
double calcCustomSunrise(double) const
Definition: sunset.cpp:479
double calcSunrise() const
Definition: sunset.cpp:455
double calcAstronomicalSunrise() const
Definition: sunset.cpp:389
~SunSet()
Definition: sunset.cpp:72
static constexpr double SUNSET_CIVIL
Definition: sunset.h:75
double calcSunset() const
Definition: sunset.cpp:466
void setTZOffset(int)
Definition: sunset.cpp:530
double calcCustomSunset(double) const
Definition: sunset.cpp:492
static constexpr double SUNSET_OFFICIAL
Definition: sunset.h:73
double calcSunriseUTC()
Definition: sunset.cpp:365
double calcCivilSunset() const
Definition: sunset.cpp:422