Ellipsoid Class
An ellipsoid of revolution that models the shape of the Earth, such as the one of WGS 84 or GRS 80.
public sealed class EllipsoidConstructors
| Name | Description |
|---|---|
| Ellipsoid(string, double, double) | Initializes a new instance of the Ellipsoid class. |
Ellipsoid(string, double, double)
Ellipsoid.csInitializes a new instance of the Ellipsoid class.
Parameters
namestring- The name of the ellipsoid.
semiMajorAxisdouble- The radius at the equator, in meters.
inverseFlatteningdouble- The inverse of the flattening,
a / (a - b), or 0 for a sphere.
Exceptions
ArgumentOutOfRangeExceptionsemiMajorAxisis not a positive number, orinverseFlatteningis not 0 or a number greater than 1.
Properties
| Name | Description |
|---|---|
| Airy1830 | Gets the ellipsoid Airy 1830, used by the OSGB36 datum of Great Britain. |
| Bessel1841 | Gets the ellipsoid Bessel 1841, used by the DHDN datum of Germany. |
| Clarke1866 | Gets the ellipsoid Clarke 1866, used by NAD27. |
| Clarke1880Ign | Gets the ellipsoid Clarke 1880 (IGN), used by the NTF datum of France. |
| Eccentricity | Gets the first eccentricity. |
| EccentricitySquared | Gets the square of the first eccentricity. |
| Flattening | Gets the flattening, (a - b) / a. |
| Grs80 | Gets the ellipsoid GRS 1980, used by ETRS89, RGF93 and NAD83. |
| International1924 | Gets the International 1924 (Hayford) ellipsoid, used by ED50. |
| InverseFlattening | Gets the inverse of the flattening, or 0 for a sphere. |
| Name | Gets the name of the ellipsoid. |
| SemiMajorAxis | Gets the radius at the equator, in meters. |
| SemiMinorAxis | Gets the radius at the poles, in meters. |
| Wgs84 | Gets the ellipsoid of WGS 84, used by GPS devices, GeoJSON and web maps. |
Airy1830
Ellipsoid.csBessel1841
Ellipsoid.csClarke1866
Ellipsoid.csClarke1880Ign
Ellipsoid.csEccentricity
Ellipsoid.csEccentricitySquared
Ellipsoid.csFlattening
Ellipsoid.csGrs80
Ellipsoid.csInternational1924
Ellipsoid.csInverseFlattening
Ellipsoid.csName
Ellipsoid.csSemiMajorAxis
Ellipsoid.csSemiMinorAxis
Ellipsoid.csWgs84
Ellipsoid.csMethods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |