2011-12-16 23:38:28 +00:00
|
|
|
#ifndef SOLARPOSITION_H_
|
|
|
|
#define SOLARPOSITION_H_
|
|
|
|
|
2012-10-11 18:52:51 +00:00
|
|
|
#include "DateTime.h"
|
2011-12-16 23:38:28 +00:00
|
|
|
#include "Eci.h"
|
|
|
|
|
2012-10-25 19:40:47 +00:00
|
|
|
/**
|
|
|
|
* @brief Find the position of the sun
|
|
|
|
*/
|
2011-12-16 23:38:28 +00:00
|
|
|
class SolarPosition
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
SolarPosition()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual ~SolarPosition()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-10-11 18:52:51 +00:00
|
|
|
Eci FindPosition(const DateTime& dt);
|
2011-12-16 23:38:28 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
double Delta_ET(double year) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|