code::Ellipsoid Struct Reference

List of all members.

Detailed Description

Defines the Ellipspoid to use for map conversions.

See also:
LLUTM

LatLonLambert

Here are some common values according to Peter Gana, U.Texas. Original Source: Defense Mapping Agency. 1987b. DMA Technical Report: Supplement to Department of Defense World Geodetic System 1984 Technical Report. Part I and II. Washington, DC: Defense Mapping Agency

The first number here is the id in Chuck Gantz's version. We ignore it.

	Ellipsoid( 1, "Airy", 6377563, 0.00667054),
	Ellipsoid( 2, "Australian National", 6378160, 0.006694542),
	Ellipsoid( 3, "Bessel 1841", 6377397, 0.006674372),
	Ellipsoid( 4, "Bessel 1841 (Nambia) ", 6377484, 0.006674372),
	Ellipsoid( 5, "Clarke 1866", 6378206, 0.006768658),
	Ellipsoid( 6, "Clarke 1880", 6378249, 0.006803511),
	Ellipsoid( 7, "Everest", 6377276, 0.006637847),
	Ellipsoid( 8, "Fischer 1960 (Mercury) ", 6378166, 0.006693422),
	Ellipsoid( 9, "Fischer 1968", 6378150, 0.006693422),
	Ellipsoid( 10, "GRS 1967", 6378160, 0.006694605),
	Ellipsoid( 11, "GRS 1980", 6378137, 0.00669438),
	Ellipsoid( 12, "Helmert 1906", 6378200, 0.006693422),
	Ellipsoid( 13, "Hough", 6378270, 0.00672267),
	Ellipsoid( 14, "International", 6378388, 0.00672267),
	Ellipsoid( 15, "Krassovsky", 6378245, 0.006693422),
	Ellipsoid( 16, "Modified Airy", 6377340, 0.00667054),
	Ellipsoid( 17, "Modified Everest", 6377304, 0.006637847),
	Ellipsoid( 18, "Modified Fischer 1960", 6378155, 0.006693422),
	Ellipsoid( 19, "South American 1969", 6378160, 0.006694542),
	Ellipsoid( 20, "WGS 60", 6378165, 0.006693422),
	Ellipsoid( 21, "WGS 66", 6378145, 0.006694542),
	Ellipsoid( 22, "WGS-72", 6378135, 0.006694318),
	Ellipsoid( 23, "WGS-84", 6378137, 0.00669438)
        

See also:
WGS84()

NAD27()


Public Member Functions

 Ellipsoid ()
 Creates an invalid Ellipsoid.
 Ellipsoid (const std::string &name, double radius, double ecc_sq)
 Pass in the equatorial radius in meters and the square of the eccentricity.
const double & eqr () const
 equatorial radius, often termed a the semi-major axis.
const double & eccsq () const
 square of the eccentricity.

Static Public Member Functions

static Ellipsoid WGS84 ()
 Returns the WGS84 Ellipsoid.
static Ellipsoid NAD27 ()
 Returns the NAD27 Ellipsoid that is used by the USGS a lot.


Constructor & Destructor Documentation

code::Ellipsoid::Ellipsoid (  )  [inline]

Creates an invalid Ellipsoid.

For convenience in STL containers only.

code::Ellipsoid::Ellipsoid ( const std::string &  name,
double  radius,
double  ecc_sq 
) [inline]

Pass in the equatorial radius in meters and the square of the eccentricity.

For common values, see the class description.

See also:
WGS84()

NAD27()


Member Function Documentation

const double& code::Ellipsoid::eccsq (  )  const [inline]

square of the eccentricity.

const double& code::Ellipsoid::eqr (  )  const [inline]

equatorial radius, often termed a the semi-major axis.

static Ellipsoid code::Ellipsoid::NAD27 (  )  [inline, static]

Returns the NAD27 Ellipsoid that is used by the USGS a lot.

The NAD27 is based on the Clarke 1866 ellipsoid, but because it is not a digital format, is pretty inaccurate. You are advised to use the WGS84 format if you can.

See also:
WGS84()

static Ellipsoid code::Ellipsoid::WGS84 (  )  [inline, static]

Returns the WGS84 Ellipsoid.


Generated on Fri May 4 13:40:12 2012 for WDSS-IIw2 by  doxygen 1.4.7