cartesianToGeographic

abstract fun cartesianToGeographic(ellipsoid: Ellipsoid, x: Double, y: Double, z: Double, offset: Double, result: Position): Position

Converts a Cartesian point to a geographic position.

Return

the result argument, set to the computed geographic position

Parameters

ellipsoid

the ellipsoid this projection is applied to

x

the Cartesian point's X component

y

the Cartesian point's Y component

z

the Cartesian point's Z component

offset

the horizontal offset in 2D projection

result

a pre-allocated Position in which to store the computed geographic position