GeographicLib 2.5
|
Constants needed by GeographicLib More...
#include <GeographicLib/Constants.hpp>
Related Symbols | |
(Note that these are not member symbols.) | |
#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 107 of file Constants.hpp.
|
inlinestatic |
A synonym for Math::degree<real>().
Definition at line 116 of file Constants.hpp.
|
inlinestatic |
Definition at line 120 of file Constants.hpp.
|
inlinestatic |
Definition at line 125 of file Constants.hpp.
T | the type of the returned value. |
Definition at line 135 of file Constants.hpp.
Referenced by GeographicLib::AlbersEqualArea::AzimuthalEqualAreaNorth(), GeographicLib::AlbersEqualArea::AzimuthalEqualAreaSouth(), GeographicLib::AlbersEqualArea::CylindricalEqualArea(), main(), GeographicLib::LambertConformalConic::Mercator(), GeographicLib::PolarStereographic::UPS(), GeographicLib::TransverseMercator::UTM(), GeographicLib::TransverseMercatorExact::UTM(), GeographicLib::AuxLatitude::WGS84(), GeographicLib::Geocentric::WGS84(), GeographicLib::Geodesic::WGS84(), GeographicLib::GeodesicExact::WGS84(), GeographicLib::NormalGravity::WGS84(), and GeographicLib::Rhumb::WGS84().
T | the type of the returned value. |
Definition at line 141 of file Constants.hpp.
Referenced by GeographicLib::AlbersEqualArea::AzimuthalEqualAreaNorth(), GeographicLib::AlbersEqualArea::AzimuthalEqualAreaSouth(), GeographicLib::AlbersEqualArea::CylindricalEqualArea(), main(), GeographicLib::LambertConformalConic::Mercator(), GeographicLib::PolarStereographic::UPS(), GeographicLib::TransverseMercator::UTM(), GeographicLib::TransverseMercatorExact::UTM(), GeographicLib::AuxLatitude::WGS84(), GeographicLib::Geocentric::WGS84(), GeographicLib::Geodesic::WGS84(), GeographicLib::GeodesicExact::WGS84(), GeographicLib::NormalGravity::WGS84(), and GeographicLib::Rhumb::WGS84().
T | the type of the returned value. |
Definition at line 152 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::WGS84().
T | the type of the returned value. |
Definition at line 159 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::WGS84().
T | the type of the returned value. |
Definition at line 165 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::GRS80().
T | the type of the returned value. |
Definition at line 172 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::GRS80().
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 186 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::GRS80().
T | the type of the returned value. |
Definition at line 193 of file Constants.hpp.
Referenced by GeographicLib::NormalGravity::GRS80().
T | the type of the returned value. |
Definition at line 199 of file Constants.hpp.
Referenced by GeographicLib::TransverseMercator::UTM(), and GeographicLib::TransverseMercatorExact::UTM().
T | the type of the returned value. |
Definition at line 205 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 219 of file Constants.hpp.
|
inlinestatic |
Definition at line 223 of file Constants.hpp.
|
inlinestatic |
Definition at line 229 of file Constants.hpp.
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 239 of file Constants.hpp.
|
inlinestatic |
Definition at line 244 of file Constants.hpp.
|
inlinestatic |
Definition at line 249 of file Constants.hpp.
|
inlinestatic |
Definition at line 254 of file Constants.hpp.
|
inlinestatic |
Definition at line 264 of file Constants.hpp.
|
inlinestatic |
Definition at line 269 of file Constants.hpp.
|
inlinestatic |
Definition at line 273 of file Constants.hpp.
|
inlinestatic |
Definition at line 277 of file Constants.hpp.
|
inlinestatic |
Definition at line 281 of file Constants.hpp.
|
inlinestatic |
Definition at line 285 of file Constants.hpp.
|
inlinestatic |
Definition at line 289 of file Constants.hpp.
|
inlinestatic |
Definition at line 293 of file Constants.hpp.
|
inlinestatic |
Definition at line 302 of file Constants.hpp.
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.