SO3Engine
|
SO3Astronomy.cpp
Go to the documentation of this file.
29There's also usefull informations in "A physically-based night sky model" concerning the moon position calculation.
74void SAstronomy::ConvertEclipticToEquatorialRad(const double& lon, const double& lat, double& rasc, double& decl)
87void SAstronomy::ConvertRectangularToSpherical(const double& x, const double& y, const double& z, double& rasc, double& decl, double& dist)
94void SAstronomy::ConvertSphericalToRectangular(const double& rasc, const double& decl, const double& dist, double& x, double& y, double& z)
101void SAstronomy::ConvertEquatorialToHorizontal(const double& jday, const double& longitude, const double& latitude, const double& rasc, const double& decl, double& azimuth, double& altitude)
160void SAstronomy::GetEquatorialSunPosition(const double& jday, double& sunRightAscension, double& sunDeclinaison)
169void SAstronomy::GetHorizontalSunPosition(const double& jday, const double& longitude, const double& latitude, double& azimuth, double& altitude)
174 ConvertEquatorialToHorizontal(jday, longitude, latitude, sunRightAscension, sunDeclinaison, azimuth, altitude);
177void SAstronomy::GetHorizontalSunPosition(const double& jday, const Ogre::Degree& longitude, const Ogre::Degree& latitude, Ogre::Degree& azimuth, Ogre::Degree& altitude)
218void SAstronomy::GetHorizontalMoonPosition(const double& jday, const double& longitude, const double& latitude, double& azimuth, double& altitude)
233 SAstronomy::ConvertEquatorialToHorizontal(jday, longitude, latitude, rasc, decl, azimuth, altitude);
236void SAstronomy::GetHorizontalMoonPosition(const double& jday, const Ogre::Degree& longitude, const Ogre::Degree& latitude, Ogre::Degree& azimuth, Ogre::Degree& altitude)
265double SAstronomy::GetJulianDayFromGregorianDateTime(const int& year, const int& month, const int& day, const int& hour, const int& minute, const double& second)
275double SAstronomy::GetJulianDayFromGregorianDateTime(const int& year, const int& month, const int& day, const double& secondsFromMidnight)
282void SAstronomy::GetGregorianDateFromJulianDay(const int& julianDay, int& year, int& month, int& day)
303void SAstronomy::GetGregorianDateTimeFromJulianDay(const double& julianDay, int& year, int& month, int& day, int& hour, int& minute, double& second)
319void SAstronomy::GetGregorianDateFromJulianDay(const double& julianDay, int& year, int& month, int& day)
327#if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32) && (OGRE_COMPILER == OGRE_COMPILER_MSVC) && !defined(_WIN64)
static void GetEquatorialSunPosition(const double &jday, double &sunRightAscension, double &sunDeclinaison)
Definition SO3Astronomy.cpp:160
static int GetJulianDayFromGregorianDate(const int &year, const int &month, const int &day)
Definition SO3Astronomy.cpp:254
static void GetEclipticSunMeanLongitude(const double &jday, double &sunlon)
Definition SO3Astronomy.cpp:126
static void ConvertEclipticToEquatorialRad(const double &lon, const double &lat, double &rasc, double &decl)
Definition SO3Astronomy.cpp:74
static void GetGregorianDateFromJulianDay(const int &julianDay, int &year, int &month, int &day)
Definition SO3Astronomy.cpp:282
static void GetGregorianDateTimeFromJulianDay(const double &julianDay, int &year, int &month, int &day, int &hour, int &minute, double &second)
Definition SO3Astronomy.cpp:303
static int EnterHighPrecissionFloatingPointMode()
Definition SO3Astronomy.cpp:328
static void ConvertEquatorialToHorizontal(const double &jday, const double &longitude, const double &latitude, const double &rasc, const double &decl, double &azimuth, double &altitude)
Definition SO3Astronomy.cpp:101
static void GetEclipticSunPosition(const double &jday, double &lambda, double &beta)
Definition SO3Astronomy.cpp:151
static double GetJulianDayFromGregorianDateTime(const int &year, const int &month, const int &day, const int &hour, const int &minute, const double &second)
Definition SO3Astronomy.cpp:265
static double Atan2Deg(const double &y, const double &x)
Definition SO3Astronomy.cpp:60
static void GetHorizontalMoonPosition(const double &jday, const double &longitude, const double &latitude, double &azimuth, double &altitude)
Definition SO3Astronomy.cpp:218
static void ConvertSphericalToRectangular(const double &rasc, const double &decl, const double &dist, double &x, double &y, double &z)
Definition SO3Astronomy.cpp:94
static void GetMoonPhase(const double &jday, float &moonPhase)
Definition SO3Astronomy.cpp:244
static void GetHorizontalSunPosition(const double &jday, const double &longitude, const double &latitude, double &azimuth, double &altitude)
Definition SO3Astronomy.cpp:169
static void GetEclipticMoonPositionRad(const double &jday, double &lon, double &lat)
Definition SO3Astronomy.cpp:185
static double NormalizeDegrees(const double &x)
Definition SO3Astronomy.cpp:65
static void ConvertRectangularToSpherical(const double &x, const double &y, const double &z, double &rasc, double &decl, double &dist)
Definition SO3Astronomy.cpp:87
static void RestoreFloatingPointMode(const int &oldMode)
Definition SO3Astronomy.cpp:335
Definition SO3DataScol.h:38
Generated by 1.9.8