toCartesian

fun toCartesian(cartographic: Cartographic, ellipsoid: Ellipsoid? = definedExternally, result: Cartesian3? = definedExternally): Cartesian3(source)

Creates a new Cartesian3 instance from a Cartographic input. The values in the inputted object should be in radians.

Return

The position

Parameters

cartographic

Input to be converted into a Cartesian3 output.

ellipsoid

The ellipsoid on which the position lies. Default value - Ellipsoid.default

result

The object onto which to store the result.

See also