GeographicLib::Constants Class Reference

Constants needed by GeographicLib More...

#include <GeographicLib/Constants.hpp>

List of all members.

Static Public Member Functions

static Math::real pi () throw ()
static Math::real degree () throw ()
static Math::real arcminute () throw ()
static Math::real arcsecond () throw ()
static Math::real nauticalmile () throw ()
Ellipsoid parameters



static Math::real WGS84_a () throw ()
static Math::real WGS84_r () throw ()
static Math::real UTM_k0 () throw ()
static Math::real UPS_k0 () throw ()
SI units



static Math::real meter () throw ()
static Math::real kilometer () 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 ()
Anachronistic US units



static Math::real surveyfoot () throw ()

Detailed Description

Constants needed by GeographicLib

Define constants specifying the WGS84 ellipsoid, the UTM and UPS projections, and various unit conversions.

Definition at line 249 of file Constants.hpp.


Member Function Documentation

static Math::real GeographicLib::Constants::pi (  )  throw () [inline, static]
static Math::real GeographicLib::Constants::degree (  )  throw () [inline, static]
static Math::real GeographicLib::Constants::arcminute (  )  throw () [inline, static]

Factor to convert from minutes to radians

Definition at line 268 of file Constants.hpp.

References degree().

Referenced by arcsecond().

static Math::real GeographicLib::Constants::arcsecond (  )  throw () [inline, static]

Factor to convert from seconds to radians

Definition at line 272 of file Constants.hpp.

References arcminute().

static Math::real GeographicLib::Constants::WGS84_a (  )  throw () [inline, static]

Major radius of WGS84 ellipsoid

Definition at line 280 of file Constants.hpp.

References meter().

Referenced by GeographicLib::UTMUPS::MajorRadius(), and GeographicLib::Geoid::MajorRadius().

static Math::real GeographicLib::Constants::WGS84_r (  )  throw () [inline, static]

Reciprocal flattening of WGS84 ellipsoid

Definition at line 284 of file Constants.hpp.

Referenced by GeographicLib::UTMUPS::InverseFlattening(), and GeographicLib::Geoid::InverseFlattening().

static Math::real GeographicLib::Constants::UTM_k0 (  )  throw () [inline, static]

Central scale factor for UTM

Definition at line 288 of file Constants.hpp.

static Math::real GeographicLib::Constants::UPS_k0 (  )  throw () [inline, static]

Central scale factor for UPS

Definition at line 292 of file Constants.hpp.

static Math::real 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 302 of file Constants.hpp.

Referenced by foot(), kilometer(), nauticalmile(), surveyfoot(), and WGS84_a().

static Math::real GeographicLib::Constants::kilometer (  )  throw () [inline, static]

Factor to convert from kilometers to meters.

Definition at line 306 of file Constants.hpp.

References meter().

static Math::real GeographicLib::Constants::nauticalmile (  )  throw () [inline, static]

Factor to convert from nautical miles (approximately 1 arc minute) to meters.

Definition at line 313 of file Constants.hpp.

References meter().

static Math::real GeographicLib::Constants::foot (  )  throw () [inline, static]

Factor to convert from international feet to meters.

Definition at line 321 of file Constants.hpp.

References meter().

Referenced by yard().

static Math::real GeographicLib::Constants::yard (  )  throw () [inline, static]

Factor to convert from yards to meters.

Definition at line 326 of file Constants.hpp.

References foot().

Referenced by chain(), and fathom().

static Math::real GeographicLib::Constants::fathom (  )  throw () [inline, static]

Factor to convert from fathoms to meters.

Definition at line 330 of file Constants.hpp.

References yard().

static Math::real GeographicLib::Constants::chain (  )  throw () [inline, static]

Factor to convert from chains to meters.

Definition at line 334 of file Constants.hpp.

References yard().

Referenced by furlong().

static Math::real GeographicLib::Constants::furlong (  )  throw () [inline, static]

Factor to convert from furlongs to meters.

Definition at line 338 of file Constants.hpp.

References chain().

Referenced by mile().

static Math::real GeographicLib::Constants::mile (  )  throw () [inline, static]

Factor to convert from statute miles to meters.

Definition at line 342 of file Constants.hpp.

References furlong().

static Math::real GeographicLib::Constants::surveyfoot (  )  throw () [inline, static]

Factor to convert from US survery feet to meters.

Definition at line 351 of file Constants.hpp.

References meter().


The documentation for this class was generated from the following file:

Generated on 21 May 2010 for GeographicLib by  doxygen 1.6.1