Stellarium  24.3
Data Structures | Public Member Functions
SolarEclipseComputer Class Reference

Data Structures

struct  EclipseMapData
 
struct  GeoPoint
 

Public Member Functions

 SolarEclipseComputer (StelCore *core, StelLocaleMgr *localeMgr)
 
EclipseMapData generateEclipseMap (const double JDMid) const
 
GeoPoint getContactCoordinates (double x, double y, double d, double mu) const
 Geographic coordinates of extreme contact.
 
GeoPoint getRiseSetLineCoordinates (bool first, double x, double y, double d, double L, double mu) const
 Geographic coordinates where solar eclipse begins/ends at sunrise/sunset.
 
GeoPoint getMaximumEclipseAtRiseSet (bool first, double JD) const
 Geographic coordinates where maximum solar eclipse occurs at sunrise/sunset.
 
GeoPoint getShadowOutlineCoordinates (double angle, double x, double y, double d, double L, double tf, double mu) const
 Geographic coordinates of shadow outline.
 
double getJDofMinimumDistance (double JD) const
 Iteration to calculate minimum distance from Besselian elements.
 
double getJDofContact (double JD, bool beginning, bool penumbral, bool external, bool outerContact) const
 Iteration to calculate JD of solar eclipse contacts.
 
double getDeltaTimeOfContact (double JD, bool beginning, bool penumbra, bool external, bool outerContact) const
 Iteration to calculate contact times of solar eclipse.
 
void generateKML (const EclipseMapData &data, const QString &dateString, QTextStream &stream) const
 
bool generatePNGMap (const EclipseMapData &data, const QString &filePath) const