Aardvark.Base


GeoEllipsoid

This struct provides properties for a particular World-Ellipsoid. It is defined by ist two radii: "a" and "b".

Constructors

ConstructorDescription
new(a, b, f)
Signature: (a:float * b:float * f:float) -> unit

Construct a geo-ellipsoid from semi-major axis a (bigger radius), semi-minor axis b (smaller radius) and flattening f. Since only two of these are necessary for specification, use the static functions and to construct ellipsoids given their defining parameters.

Instance members

Instance memberDescription
E2Q
Signature: float

Returns the second eccentricity squared: e2^2 = (a^2-b^2)/b^2.

EQ
Signature: float

Returns the first eccentricity squared: e^2 = (a^2-b^2)/a^2.

InvF
Signature: float

Returns the inverse of the flattening: 1/f.

Static members

Static memberDescription
FromAB(a, b)
Signature: (a:float * b:float) -> GeoEllipsoid
FromAF(a, f)
Signature: (a:float * f:float) -> GeoEllipsoid
Fork me on GitHub