Astronomical Constants used across CARMA.
More...
#include <carma/services/Astro.h>
Astronomical Constants used across CARMA.
Units follow CARMA Standard Units where applicable, SI otherwise.
Planetary data come from http://nineplanets.org and Hat Creek code. They are not meant to supplant ephemeris values, but are simply for quick calculations that do not need high accuracy.
- See Also
- http://www.mmarray.org/workinggroups/computing/CarmaStdUnits.html
-
http://nineplanets.org
Definition at line 32 of file Astro.h.
carma::services::constants::Astro::~Astro |
( |
| ) |
|
static planetType carma::services::constants::Astro::getPlanet |
( |
const std::string & |
planetName | ) |
|
|
static |
- Returns
- planetType struct given planet name
- Parameters
-
planetName | Planet name, case insensitive. |
static bool carma::services::constants::Astro::isPlanet |
( |
const std::string & |
planetName | ) |
|
|
static |
- Returns
- true if input planet name is a recognized planet,. false otherwise
- Parameters
-
planetName | Planet name, case insensitive. |
const double carma::services::constants::Astro::AU = 1.49597870691E11 |
|
static |
const planetType carma::services::constants::Astro::EARTH |
|
static |
Basic data for Earth.
Definition at line 160 of file Astro.h.
const planetType carma::services::constants::Astro::JUPITER |
|
static |
Basic data for Jupiter.
Definition at line 169 of file Astro.h.
const planetType carma::services::constants::Astro::MARS |
|
static |
Basic data for Mars.
Definition at line 166 of file Astro.h.
const planetType carma::services::constants::Astro::MERCURY |
|
static |
Basic data for Mercury.
Definition at line 154 of file Astro.h.
const planetType carma::services::constants::Astro::MOON |
|
static |
Basic data for Moon.
Definition at line 163 of file Astro.h.
const planetType carma::services::constants::Astro::NEPTUNE |
|
static |
Basic data for Neptune.
Definition at line 178 of file Astro.h.
const planetType carma::services::constants::Astro::PLUTO |
|
static |
Basic data for Pluto.
Definition at line 181 of file Astro.h.
const planetType carma::services::constants::Astro::SATURN |
|
static |
Basic data for Saturn.
Definition at line 172 of file Astro.h.
const planetType carma::services::constants::Astro::SUN |
|
static |
Basic data for Sun.
Definition at line 151 of file Astro.h.
const planetType carma::services::constants::Astro::URANUS |
|
static |
Basic data for Uranus.
Definition at line 175 of file Astro.h.
const planetType carma::services::constants::Astro::VENUS |
|
static |
Basic data for Venus.
Definition at line 157 of file Astro.h.
The documentation for this class was generated from the following file: