Class Ellipsoid

Ellipsoid class

Ellipsoid represents an ellipsoid, which approximates earth.

public class Ellipsoid : IdentifiableObject

Constructors

NameDescription
Ellipsoid(string, double, double, Identifier)Creates new Ellipsoid.

Properties

NameDescription
static Airy { get; }Airy ellipsoid.
static Grs80 { get; }GRS 1980 Ellipsoid.
static Wgs72 { get; }WGS 72 Ellipsoid.
static Wgs84 { get; }WGS 84 Ellipsoid.
EpsgCode { get; }If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.
Identifier { get; }Identifier of this identifiable object.
InverseFlattening { get; }Inverse flattening of ellipsoid. 0 if this is a sphere.
IsSphere { get; }Detects whether this ellipsoid is a sphere.
IsValid { get; }Detects whether ellipsoid is valid: its semi major axis is more then 0 and inverse flattening is positive or equal to 0.
Name { get; }Name of this object.
SemiMajorAxis { get; }Semi major axis of ellipsoid.
SemiMinorAxis { get; }Semi minor axis of ellipsoid. Equals to semi major axis if this is a sphere.

Methods

NameDescription
IsEquivalent(Ellipsoid)Determines if two ellipsoids are equivalent. If ellipsoid A is equivalent to ellipsoid B, then they have same semi major axis and inverse flattening.
override ToString()Returns a string that represents the current object.
static IsEquivalent(Ellipsoid, Ellipsoid)Determines if two ellipsoids are equivalent. If ellipsoid A is equivalent to ellipsoid B, then they have same semi major axis and inverse flattening.

See Also