GeographicLib
1.35
|
Constants needed by GeographicLib More...
#include <GeographicLib/Constants.hpp>
Static Public Member Functions | |
static Math::real | degree () throw () |
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 () |
template<typename T > | |
static T | WGS84_f () throw () |
static Math::real | WGS84_f () throw () |
template<typename T > | |
static T | WGS84_GM () throw () |
template<typename T > | |
static T | WGS84_omega () 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 () |
template<typename T > | |
static T | UPS_k0 () throw () |
static Math::real | UPS_k0 () throw () |
SI units | |
template<typename T > | |
static T | meter () throw () |
static Math::real | meter () throw () |
static Math::real | kilometer () throw () |
static Math::real | nauticalmile () throw () |
template<typename T > | |
static T | square_meter () throw () |
static Math::real | square_meter () throw () |
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 () |
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 77 of file Constants.hpp.
|
inlinestatic |
A synonym for Math::degree<real>().
Definition at line 86 of file Constants.hpp.
|
inlinestatic |
Definition at line 90 of file Constants.hpp.
|
inlinestatic |
Definition at line 95 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
Definition at line 105 of file Constants.hpp.
|
inlinestatic |
A synonym for WGS84_a<real>().
Definition at line 110 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
Definition at line 115 of file Constants.hpp.
|
inlinestatic |
A synonym for WGS84_f<real>().
Definition at line 120 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
Definition at line 126 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
Definition at line 133 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
Definition at line 152 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
Definition at line 159 of file Constants.hpp.
|
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 173 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
Definition at line 180 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
Definition at line 186 of file Constants.hpp.
|
inlinestatic |
A synonym for UTM_k0<real>().
Definition at line 191 of file Constants.hpp.
|
inlinestatic |
T | the type of the returned value. |
Definition at line 196 of file Constants.hpp.
|
inlinestatic |
A synonym for UPS_k0<real>().
Definition at line 201 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 214 of file Constants.hpp.
|
inlinestatic |
A synonym for meter<real>().
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 |
A synonym for square_meter<real>().
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 258 of file Constants.hpp.
|
inlinestatic |
Definition at line 268 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 297 of file Constants.hpp.
|
inlinestatic |
Definition at line 306 of file Constants.hpp.