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

It yields best results between March 1st 1900 and February 28th 2100.
This is a C++ implementation version based on 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 in the period 1950-2050 are:
Definition at line 66 of file SunPosition.hpp.
Public Member Functions | |
| SunPosition () throw () | |
| Default constructor. | |
| virtual | ~SunPosition () |
| Destructor. | |
| Triple | getPosition (const DayTime &t) const throw (InvalidRequest) |
| Returns the position of Sun ECEF coordinates (meters) at the indicated time. | |
| Triple | getPositionCIS (const DayTime &t) const throw (InvalidRequest) |
| Function to compute Sun position in CIS system (coordinates in meters). | |
| DayTime | getInitialTime () const throw (InvalidRequest) |
| Determine the earliest time for which this object can successfully determine the position for the Sun. | |
| DayTime | getFinalTime () const throw (InvalidRequest) |
| Determine the latest time for which this object can successfully determine the position for the Sun. | |
|
|
Default constructor.
Definition at line 71 of file SunPosition.hpp. |
|
|
Destructor.
Definition at line 74 of file SunPosition.hpp. |
|
|
Determine the latest time for which this object can successfully determine the position for the Sun.
Definition at line 123 of file SunPosition.hpp. |
|
|
Determine the earliest time for which this object can successfully determine the position for the Sun.
Definition at line 112 of file SunPosition.hpp. |
|
|
Returns the position of Sun ECEF coordinates (meters) at the indicated time.
Definition at line 53 of file SunPosition.cpp. References gpstk::CIS2CTS(), and GPSTK_THROW. Referenced by SolidTides::getSolidTide(), EclipsedSatFilter::Process(), ComputeWindUp::Process(), and ComputeSatPCenter::Process(). |
|
|
Function to compute Sun position in CIS system (coordinates in meters).
Definition at line 80 of file SunPosition.cpp. References gpstk::gamma(), GPSTK_THROW, gpstk::MeanEarthMoonBary(), Triple::theArray, and TWO_PI. |
1.3.9.1