GeographicLib
1.51
|
Constants needed by GeographicLib More...
#include <GeographicLib/Constants.hpp>
Static Public Member Functions | |
static Math::real | degree () |
static Math::real | arcminute () |
static Math::real | arcsecond () |
Ellipsoid parameters | |
template<typename T = real> | |
static T | WGS84_a () |
template<typename T = real> | |
static T | WGS84_f () |
template<typename T = real> | |
static T | WGS84_GM () |
template<typename T = real> | |
static T | WGS84_omega () |
template<typename T = real> | |
static T | GRS80_a () |
template<typename T = real> | |
static T | GRS80_GM () |
template<typename T = real> | |
static T | GRS80_omega () |
template<typename T = real> | |
static T | GRS80_J2 () |
template<typename T = real> | |
static T | UTM_k0 () |
template<typename T = real> | |
static T | UPS_k0 () |
SI units | |
template<typename T = real> | |
static T | meter () |
static Math::real | kilometer () |
static Math::real | nauticalmile () |
template<typename T = real> | |
static T | square_meter () |
static Math::real | hectare () |
static Math::real | square_kilometer () |
static Math::real | square_nauticalmile () |
Anachronistic British units | |
static Math::real | foot () |
static Math::real | yard () |
static Math::real | fathom () |
static Math::real | chain () |
static Math::real | furlong () |
static Math::real | mile () |
static Math::real | acre () |
static Math::real | square_mile () |
Anachronistic US units | |
static Math::real | surveyfoot () |
Related Functions | |
(Note that these are not member functions.) | |
#define | GEOGRAPHICLIB_VERSION_NUM(a, b, c) ((((a) * 10000 + (b)) * 100) + (c)) |
#define | GEOGRAPHICLIB_VERSION |
Constants needed by GeographicLib
Define constants specifying the WGS84 ellipsoid, the UTM and UPS projections, and various unit conversions.
Example of use:
Definition at line 106 of file Constants.hpp.
|
inlinestatic |
A synonym for Math::degree<real>().
Definition at line 115 of file Constants.hpp.
References GeographicLib::Math::degree().
|
inlinestatic |
Definition at line 119 of file Constants.hpp.
References GeographicLib::Math::degree().
|
inlinestatic |
Definition at line 124 of file Constants.hpp.
References GeographicLib::Math::degree().
|
inlinestatic |
T | the type of the returned value. |
Definition at line 134 of file Constants.hpp.
Referenced by GeographicLib::AlbersEqualArea::AzimuthalEqualAreaNorth(), GeographicLib::AlbersEqualArea::AzimuthalEqualAreaSouth(), GeographicLib::AlbersEqualArea::CylindricalEqualArea(), GeographicLib::UTMUPS::EquatorialRadius(), GeographicLib::Geoid::EquatorialRadius(), main(), GeographicLib::LambertConformalConic::Mercator(), GeographicLib::PolarStereographic::UPS(), GeographicLib::TransverseMercator::UTM(), GeographicLib::TransverseMercatorExact::UTM(), GeographicLib::Ellipsoid::WGS84(), GeographicLib::Geocentric::WGS84(), GeographicLib::Geodesic::WGS84(), GeographicLib::GeodesicExact::WGS84(), GeographicLib::NormalGravity::WGS84(), and GeographicLib::Rhumb::WGS84().
|
inlinestatic |
T | the type of the returned value. |
Definition at line 140 of file Constants.hpp.
Referenced by GeographicLib::AlbersEqualArea::AzimuthalEqualAreaNorth(), GeographicLib::AlbersEqualArea::AzimuthalEqualAreaSouth(), GeographicLib::AlbersEqualArea::CylindricalEqualArea(), GeographicLib::UTMUPS::Flattening(), GeographicLib::Geoid::Flattening(), main(), GeographicLib::LambertConformalConic::Mercator(), GeographicLib::PolarStereographic::UPS(), GeographicLib::TransverseMercator::UTM(), GeographicLib::TransverseMercatorExact::UTM(), GeographicLib::Ellipsoid::WGS84(), GeographicLib::Geocentric::WGS84(), GeographicLib::Geodesic::WGS84(), GeographicLib::GeodesicExact::WGS84(), GeographicLib::NormalGravity::WGS84(), and GeographicLib::Rhumb::WGS84().
|
inlinestatic |
T | the type of the returned value. |
Definition at line 151 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::WGS84().
|
inlinestatic |
T | the type of the returned value. |
Definition at line 158 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::WGS84().
|
inlinestatic |
T | the type of the returned value. |
Definition at line 164 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::GRS80().
|
inlinestatic |
T | the type of the returned value. |
Definition at line 171 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::GRS80().
|
inlinestatic |
T | the type of the returned value. |
This is about 2 π 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).
Definition at line 185 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::GRS80().
|
inlinestatic |
T | the type of the returned value. |
Definition at line 192 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::GRS80().
|
inlinestatic |
T | the type of the returned value. |
Definition at line 198 of file Constants.hpp.
Referenced by main(), GeographicLib::TransverseMercator::UTM(), and GeographicLib::TransverseMercatorExact::UTM().
|
inlinestatic |
T | the type of the returned value. |
Definition at line 204 of file Constants.hpp.
Referenced by GeographicLib::PolarStereographic::UPS().
|
inlinestatic |
T | the type of the returned value. |
This is unity, but this lets the internal system of units be changed if necessary.
Definition at line 218 of file Constants.hpp.
|
inlinestatic |
Definition at line 222 of file Constants.hpp.
|
inlinestatic |
Definition at line 228 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
This is unity, but this lets the internal system of units be changed if necessary.
Definition at line 238 of file Constants.hpp.
|
inlinestatic |
Definition at line 243 of file Constants.hpp.
|
inlinestatic |
Definition at line 248 of file Constants.hpp.
|
inlinestatic |
Definition at line 253 of file Constants.hpp.
|
inlinestatic |
Definition at line 263 of file Constants.hpp.
|
inlinestatic |
Definition at line 268 of file Constants.hpp.
|
inlinestatic |
Definition at line 272 of file Constants.hpp.
|
inlinestatic |
Definition at line 276 of file Constants.hpp.
|
inlinestatic |
Definition at line 280 of file Constants.hpp.
|
inlinestatic |
Definition at line 284 of file Constants.hpp.
|
inlinestatic |
Definition at line 288 of file Constants.hpp.
|
inlinestatic |
Definition at line 292 of file Constants.hpp.
|
inlinestatic |
Definition at line 301 of file Constants.hpp.
|
related |
Pack the version components into a single integer. Users should not rely on this particular packing of the components of the version number; see the documentation for GEOGRAPHICLIB_VERSION, below.
Definition at line 21 of file Constants.hpp.
|
related |
The version of GeographicLib as a single integer, packed as MMmmmmpp where MM is the major version, mmmm is the minor version, and pp is the patch level. Users should not rely on this particular packing of the components of the version number. Instead they should use a test such as
Definition at line 34 of file Constants.hpp.