fromCartesian
fun fromCartesian(cartesian: Cartesian3, ellipsoid: Ellipsoid? = definedExternally, result: Cartographic? = definedExternally): Cartographic(source)
Creates a new Cartographic instance from a Cartesian position. The values in the resulting object will be in radians.
Return
The modified result parameter, new Cartographic instance if none was provided, or undefined if the cartesian is at the center of the ellipsoid.
Parameters
cartesian
The Cartesian position to convert to cartographic representation.
ellipsoid
The ellipsoid on which the position lies. Default value - Ellipsoid.default
result
The object onto which to store the result.