Updraft
1.0
Open source glider flight visualisation tool.
|
Constants needed by GeographicLib More...
#include <Constants.hpp>
Static Public Member Functions | |
static Math::real | degree () throw () |
A synonym for Math::degree<real>(). | |
static Math::real | arcminute () throw () |
static Math::real | arcsecond () throw () |
Ellipsoid parameters | |
template<typename T > | |
static T | WGS84_a () throw () |
static Math::real | WGS84_a () throw () |
A synonym for WGS84_a<real>(). | |
template<typename T > | |
static T | WGS84_f () throw () |
static Math::real | WGS84_f () throw () |
A synonym for WGS84_f<real>(). | |
template<typename T > | |
static T | WGS84_GM () throw () |
template<typename T > | |
static T | WGS84_omega () throw () |
static Math::real | WGS84_r () throw () |
template<typename T > | |
static T | GRS80_a () throw () |
template<typename T > | |
static T | GRS80_GM () throw () |
template<typename T > | |
static T | GRS80_omega () throw () |
template<typename T > | |
static T | GRS80_J2 () throw () |
template<typename T > | |
static T | UTM_k0 () throw () |
static Math::real | UTM_k0 () throw () |
A synonym for UTM_k0<real>(). | |
template<typename T > | |
static T | UPS_k0 () throw () |
static Math::real | UPS_k0 () throw () |
A synonym for UPS_k0<real>(). | |
SI units | |
template<typename T > | |
static T | meter () throw () |
static Math::real | meter () throw () |
A synonym for meter<real>(). | |
static Math::real | kilometer () throw () |
static Math::real | nauticalmile () throw () |
template<typename T > | |
static T | square_meter () throw () |
static Math::real | square_meter () throw () |
A synonym for square_meter<real>(). | |
static Math::real | hectare () throw () |
static Math::real | square_kilometer () throw () |
static Math::real | square_nauticalmile () throw () |
Anachronistic British units | |
static Math::real | foot () throw () |
static Math::real | yard () throw () |
static Math::real | fathom () throw () |
static Math::real | chain () throw () |
static Math::real | furlong () throw () |
static Math::real | mile () throw () |
static Math::real | acre () throw () |
static Math::real | square_mile () throw () |
Anachronistic US units | |
static Math::real | surveyfoot () throw () |
Private Types | |
typedef Math::real | real |
Private Member Functions | |
Constants () |
Constants needed by GeographicLib
Define constants specifying the WGS84 ellipsoid, the UTM and UPS projections, and various unit conversions.
Example of use:
typedef Math::real GeographicLib::Constants::real [private] |
GeographicLib::Constants::Constants | ( | ) | [private] |
static Math::real GeographicLib::Constants::acre | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::arcminute | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::arcsecond | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::chain | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::degree | ( | ) | throw () [inline, static] |
A synonym for Math::degree<real>().
static Math::real GeographicLib::Constants::fathom | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::foot | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::furlong | ( | ) | throw () [inline, static] |
static T GeographicLib::Constants::GRS80_a | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
static T GeographicLib::Constants::GRS80_GM | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
static T GeographicLib::Constants::GRS80_J2 | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
static T GeographicLib::Constants::GRS80_omega | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
This is about 2*pi*366.25 / (365.25*24*3600) rad s-1. 365.25 is the number of days in a Julian year and 365.35/366.25 converts from solar days to sidereal days. Using the number of days in a Gregorian year (365.2425) results in a worse approximation (because the Gregorian year includes the precession of the earth's axis).
static Math::real GeographicLib::Constants::hectare | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::kilometer | ( | ) | throw () [inline, static] |
static T GeographicLib::Constants::meter | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
This is unity, but this lets the internal system of units be changed if necessary.
static Math::real GeographicLib::Constants::meter | ( | ) | throw () [inline, static] |
A synonym for meter<real>().
static Math::real GeographicLib::Constants::mile | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::nauticalmile | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::square_kilometer | ( | ) | throw () [inline, static] |
static T GeographicLib::Constants::square_meter | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
This is unity, but this lets the internal system of units be changed if necessary.
static Math::real GeographicLib::Constants::square_meter | ( | ) | throw () [inline, static] |
A synonym for square_meter<real>().
static Math::real GeographicLib::Constants::square_mile | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::square_nauticalmile | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::surveyfoot | ( | ) | throw () [inline, static] |
static T GeographicLib::Constants::UPS_k0 | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
static Math::real GeographicLib::Constants::UPS_k0 | ( | ) | throw () [inline, static] |
A synonym for UPS_k0<real>().
static T GeographicLib::Constants::UTM_k0 | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
static Math::real GeographicLib::Constants::UTM_k0 | ( | ) | throw () [inline, static] |
A synonym for UTM_k0<real>().
static T GeographicLib::Constants::WGS84_a | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
static Math::real GeographicLib::Constants::WGS84_a | ( | ) | throw () [inline, static] |
A synonym for WGS84_a<real>().
static T GeographicLib::Constants::WGS84_f | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
static Math::real GeographicLib::Constants::WGS84_f | ( | ) | throw () [inline, static] |
A synonym for WGS84_f<real>().
static T GeographicLib::Constants::WGS84_GM | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
static T GeographicLib::Constants::WGS84_omega | ( | ) | throw () [inline, static] |
T | the type of the returned value. |
static Math::real GeographicLib::Constants::WGS84_r | ( | ) | throw () [inline, static] |
static Math::real GeographicLib::Constants::yard | ( | ) | throw () [inline, static] |