LunarEclipseHandler
#include <lunareclipsehandler.h>
Protected Member Functions | |
dms | findDistance () override |
double | findInitialStep (long double, long double) override |
double | getMaxSeparation () override |
void | updatePositions (long double jd) override |
Protected Member Functions inherited from ApproachSolver | |
bool | findPrecise (QPair< long double, dms > *out, long double jd, double step, int prevSign) |
dms | findSkyPointDistance (SkyPoint *obj1, SkyPoint *obj2) |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
The LunarEclipseHandler class.
Calculate lunar eclipses.
Calculates lunar eclipses by looking for them close to full moon.
Definition at line 80 of file lunareclipsehandler.h.
Constructor & Destructor Documentation
◆ LunarEclipseHandler()
Definition at line 12 of file lunareclipsehandler.cpp.
◆ ~LunarEclipseHandler()
|
overridevirtual |
Definition at line 127 of file lunareclipsehandler.cpp.
Member Function Documentation
◆ computeEclipses()
|
overridevirtual |
compute
Implements the details for finding all the eclipses in a given time-frame. Should call findEclipse intelligently. e.g. only if the moon is full for lunar eclipses et-cetera
- Returns
- A vector of shared pointers to eclipse events.
Implements EclipseHandler.
Definition at line 17 of file lunareclipsehandler.cpp.
◆ findDistance()
|
overrideprotectedvirtual |
Finds the angular distance between two solar system objects.
- Returns
- The angular distance between the two bodies.
Implements ApproachSolver.
Definition at line 145 of file lunareclipsehandler.cpp.
◆ findEclipseDetails()
LunarEclipseDetails LunarEclipseHandler::findEclipseDetails | ( | LunarEclipseEvent * | event | ) |
Definition at line 79 of file lunareclipsehandler.cpp.
◆ findInitialStep()
|
inlineoverrideprotectedvirtual |
findStep
- Returns
- the step size used by findClosestApproach (in Julian Days)
Make this as big as possible. The bigger it is, the more likely is a skip over...
Reimplemented from EclipseHandler.
Definition at line 93 of file lunareclipsehandler.h.
◆ getMaxSeparation()
|
overrideprotectedvirtual |
getMaxSeparation
- Returns
- the maximum separation allowed, based on the (guaranteed to be up-to-date) parameters of the objects if overwritten. Here it's just a constant.
Reimplemented from ApproachSolver.
Definition at line 169 of file lunareclipsehandler.cpp.
◆ updatePositions()
|
overrideprotectedvirtual |
updatePositions
Update the positions of the objects involved.
- Parameters
-
jd Julian Day corresponding to the time of computation
Implements ApproachSolver.
Definition at line 132 of file lunareclipsehandler.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.