Ellipsoid

data class Ellipsoid(val semiMajorAxis: Double, val inverseFlattening: Double)

Oblate ellipsoid with semi-major axis and inverse flattening.

Constructors

Link copied to clipboard
constructor(semiMajorAxis: Double, inverseFlattening: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Computes this ellipsoid's eccentricity squared. The returned value is equivalent to 2*f - f*f, where f is this ellipsoid's flattening.

Link copied to clipboard

Measure of the ellipsoid's compression. Indicates how much the ellipsoid's semi-minor axis is compressed relative to the semi-major axis. Expressed as 1/f, where f = (a - b) / a, given the semi-major axis a and the semi-minor axis b.

Link copied to clipboard

One half of the ellipsoid's major axis length in meters, which runs through the center to opposite points on the equator.

Link copied to clipboard

Computes this ellipsoid's semi-minor length axis in meters. The semi-minor axis is one half of the ellipsoid's minor axis, which runs through the center to opposite points on the poles.