unproject

fun unproject(cartesian: Cartesian3, result: Cartographic? = definedExternally): Cartographic(source)

Unprojects a set of projected Cartesian3 coordinates, in meters, to Cartographic coordinates, in radians. Longitude and Latitude are the X and Y coordinates, respectively, divided by the maximum radius of the ellipsoid. Height is the unmodified Z coordinate.

Return

The unprojected coordinates. If the result parameter is not undefined, the coordinates are copied there and that instance is returned. Otherwise, a new instance is created and returned.

Parameters

cartesian

The Cartesian position to unproject with height (z) in meters.

result

An instance into which to copy the result. If this parameter is undefined, a new instance is created and returned.

See also