Companion

Properties

Link copied to clipboard

The default ellipsoid used when not otherwise specified.

Link copied to clipboard

An Ellipsoid instance initialized to a sphere with the lunar radius.

Link copied to clipboard
open override val packedLength: Int

The number of elements used to pack the object into an array.

Link copied to clipboard

An Ellipsoid instance initialized to radii of (1.0, 1.0, 1.0).

Link copied to clipboard

An Ellipsoid instance initialized to the WGS84 standard.

Functions

Link copied to clipboard
fun clone(ellipsoid: Ellipsoid, result: Ellipsoid? = definedExternally): Ellipsoid

Duplicates an Ellipsoid instance.

Link copied to clipboard
fun fromCartesian3(cartesian: Cartesian3? = definedExternally, result: Ellipsoid? = definedExternally): Ellipsoid

Computes an Ellipsoid from a Cartesian specifying the radii in x, y, and z directions.

Link copied to clipboard
open override fun pack(value: Ellipsoid, array: ReadonlyArray<Double>, startingIndex: Int?): ReadonlyArray<Double>

Stores the provided instance into the provided array.

Link copied to clipboard
open override fun unpack(array: ReadonlyArray<Double>, startingIndex: Int?, result: Ellipsoid?): Ellipsoid

Retrieves an instance from a packed array.