fromCartesian3

fun fromCartesian3(cartesian: Cartesian3? = definedExternally, result: Ellipsoid? = definedExternally): Ellipsoid(source)

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

Return

A new Ellipsoid instance.

Parameters

cartesian

The ellipsoid's radius in the x, y, and z directions. Default value - Cartesian3.ZERO

result

The object onto which to store the result, or undefined if a new instance should be created.

See also