tsc_Ellipsoid

This class represents a geodetic ellipsoid and provides its dimensions and useful calculations.

For more information about the parameters of a geodetic ellipsoid you could start with this wikipedia article.

Constructor

tsc_Ellipsoid(const double& semiMajorAxis, const double& flattening);


Public methods

The primary dimensions of the ellipse in meters.

double SemiMajorAxis () const;

double SemiMinorAxis () const;


A measure for the compression of the ellipsoid from the shape of a perfect sphere.

double Flattening () const;

double InverseFlattening () const;


The ratio of distance between the ellipsoid focal points to the length of the semi-major axis (first eccentricity).

double Eccentricity () const;

double EccentricitySquared () const;

double OneMinusEccentricitySquared () const;


The ratio of distance between the ellipsoid focal points to the length of the semi-minor axis (second eccentricity).

double EccentricityPrime () const;

double EccentricityPrimeSquared () const;

double OnePlusEccentricityPrimeSquared () const;

double EccentricityPrimeSquaredOverTwo () const;


Get the radius of the ellipsoid at the specified location.  Geodetic earth radii vary depending on the position on the ellipsoid.

double GetRadius (const tsc_Local& local) const;


Static members

Get a reference to the constant World Geodetic System 1984  (WGS84) ellipsoid definition.

static const tsc_Ellipsoid& Wgs84Ellipsoid();