#include <MoonPosition.hpp>
Collaboration diagram for MoonPosition:

It is limited between March 1st, 1900 and February 28th, 2100.
The class is based in the Meeus algorithms published in Meeus, l'Astronomie, June 1984, p348. This is a C++ implementation version of the FORTRAN version originally written by P.T. Wallace, Starlink Project. The FORTRAN version of Starlink project was available under the GPL license.
Errors in position (RMS) are:
Definition at line 70 of file MoonPosition.hpp.
Public Member Functions | |
| MoonPosition () throw () | |
| Default constructor. | |
| virtual | ~MoonPosition () |
| Destructor. | |
| Triple | getPosition (const CommonTime &t) const throw (InvalidRequest) |
| Returns the position of Moon ECEF coordinates (meters) at the indicated time. | |
| Triple | getPositionCIS (const CommonTime &t) const throw (InvalidRequest) |
| Function to compute Moon position in CIS system (coordinates in meters). | |
| CommonTime | getInitialTime () const throw (InvalidRequest) |
| Determine the earliest time for which this object can successfully determine the position for the Moon. | |
| CommonTime | getFinalTime () const throw (InvalidRequest) |
| Determine the latest time for which this object can successfully determine the position for the Moon. | |
|
|
Default constructor.
Definition at line 75 of file MoonPosition.hpp. |
|
|
Destructor.
Definition at line 78 of file MoonPosition.hpp. |
|
|
Determine the latest time for which this object can successfully determine the position for the Moon.
Definition at line 127 of file MoonPosition.hpp. |
|
|
Determine the earliest time for which this object can successfully determine the position for the Moon.
Definition at line 116 of file MoonPosition.hpp. |
|
|
Returns the position of Moon ECEF coordinates (meters) at the indicated time.
Definition at line 140 of file MoonPosition.cpp. References gpstk::CIS2CTS(), and GPSTK_THROW. Referenced by SolidTides::getSolidTide(). |
|
|
Function to compute Moon position in CIS system (coordinates in meters).
Definition at line 169 of file MoonPosition.cpp. References gpstk::B1950(), gpstk::cos(), gpstk::D2R(), gpstk::DAS2R, gpstk::DS2R, gpstk::ERADAU(), F1, F2, GPSTK_THROW, gpstk::sin(), and Triple::theArray. |
1.3.9.1