fromCartesian3
fun fromCartesian3(cartesian: Cartesian3, result: Cartesian2? = definedExternally): Cartesian2(source)
Creates a Cartesian2 instance from an existing Cartesian3. This simply takes the x and y properties of the Cartesian3 and drops z.
Return
The modified result parameter or a new Cartesian2 instance if one was not provided.
Parameters
cartesian
The Cartesian3 instance to create a Cartesian2 instance from.
result
The object onto which to store the result.