Constants needed by GeographicLib More...
#include <GeographicLib/Constants.hpp>
Static Public Member Functions | |
static double | pi () throw () |
static double | degree () throw () |
static double | nauticalmile () throw () |
Ellipsoid parameters | |
static double | WGS84_a () throw () |
static double | WGS84_invf () throw () |
static double | UTM_k0 () throw () |
static double | UPS_k0 () throw () |
SI units | |
static double | meter () throw () |
static double | kilometer () throw () |
Anachronistic British units | |
static double | foot () throw () |
static double | yard () throw () |
static double | fathom () throw () |
static double | chain () throw () |
static double | furlong () throw () |
static double | mile () throw () |
Anachronistic US units | |
static double | surveyfoot () throw () |
Constants needed by GeographicLib
Define constants specifying the WGS84 ellipsoid, the UTM and UPS projections, and various unit conversions.
static double GeographicLib::Constants::pi | ( | ) | throw () [inline, static] |
pi
Definition at line 30 of file Constants.hpp.
Referenced by degree(), GeographicLib::Geocentric::Reverse(), GeographicLib::Geodesic::Inverse(), GeographicLib::PolarStereographic::Reverse(), GeographicLib::TransverseMercator::Forward(), GeographicLib::TransverseMercator::Reverse(), and GeographicLib::TransverseMercatorExact::Reverse().
static double GeographicLib::Constants::degree | ( | ) | throw () [inline, static] |
Factor to convert from degrees to radians
Definition at line 35 of file Constants.hpp.
References pi().
Referenced by GeographicLib::Geocentric::Forward(), GeographicLib::Geocentric::Reverse(), GeographicLib::Geodesic::Inverse(), GeographicLib::GeodesicLine::Position(), GeographicLib::LocalCartesian::Reset(), GeographicLib::PolarStereographic::Forward(), GeographicLib::PolarStereographic::Reverse(), GeographicLib::TransverseMercator::Forward(), GeographicLib::TransverseMercator::Reverse(), GeographicLib::TransverseMercatorExact::Forward(), and GeographicLib::TransverseMercatorExact::Reverse().
static double GeographicLib::Constants::WGS84_a | ( | ) | throw () [inline, static] |
static double GeographicLib::Constants::WGS84_invf | ( | ) | throw () [inline, static] |
Inverse flattening of WGS84 ellipsoid
Definition at line 47 of file Constants.hpp.
static double GeographicLib::Constants::UTM_k0 | ( | ) | throw () [inline, static] |
Central scale factor for UTM
Definition at line 51 of file Constants.hpp.
static double GeographicLib::Constants::UPS_k0 | ( | ) | throw () [inline, static] |
Central scale factor for UPS
Definition at line 55 of file Constants.hpp.
static double GeographicLib::Constants::meter | ( | ) | throw () [inline, static] |
Factor to convert from meters to meters (i.e., 1, but this lets the internal system of units be changed if necessary).
Definition at line 65 of file Constants.hpp.
Referenced by WGS84_a(), kilometer(), nauticalmile(), foot(), and surveyfoot().
static double GeographicLib::Constants::kilometer | ( | ) | throw () [inline, static] |
Factor to convert from kilometers to meters.
Definition at line 69 of file Constants.hpp.
References meter().
static double GeographicLib::Constants::nauticalmile | ( | ) | throw () [inline, static] |
Factor to convert from nautical miles (approximately 1 arc minute) to meters.
Definition at line 75 of file Constants.hpp.
References meter().
static double GeographicLib::Constants::foot | ( | ) | throw () [inline, static] |
Factor to convert from international feet to meters.
Definition at line 83 of file Constants.hpp.
References meter().
Referenced by yard().
static double GeographicLib::Constants::yard | ( | ) | throw () [inline, static] |
Factor to convert from yards to meters.
Definition at line 87 of file Constants.hpp.
References foot().
static double GeographicLib::Constants::fathom | ( | ) | throw () [inline, static] |
Factor to convert from fathoms to meters.
Definition at line 91 of file Constants.hpp.
References yard().
static double GeographicLib::Constants::chain | ( | ) | throw () [inline, static] |
Factor to convert from chains to meters.
Definition at line 95 of file Constants.hpp.
References yard().
Referenced by furlong().
static double GeographicLib::Constants::furlong | ( | ) | throw () [inline, static] |
Factor to convert from furlongs to meters.
Definition at line 99 of file Constants.hpp.
References chain().
Referenced by mile().
static double GeographicLib::Constants::mile | ( | ) | throw () [inline, static] |
Factor to convert from statute miles to meters.
Definition at line 103 of file Constants.hpp.
References furlong().
static double GeographicLib::Constants::surveyfoot | ( | ) | throw () [inline, static] |
Factor to convert from US survery feet to meters.
Definition at line 112 of file Constants.hpp.
References meter().