transformPositionFromScaledSpace

fun transformPositionFromScaledSpace(position: Cartesian3, result: Cartesian3? = definedExternally): Cartesian3(source)

Transforms a Cartesian X, Y, Z position from the ellipsoid-scaled space by multiplying its components by the result of Ellipsoid.radii.

Return

The position expressed in the unscaled space. The returned instance is the one passed as the result parameter if it is not undefined, or a new instance of it is.

Parameters

position

The position to transform.

result

The position to which to copy the result, or undefined to create and return a new instance.

See also