clone

fun clone(cartesian: Cartesian4, result: Cartesian4? = definedExternally): Cartesian4(source)

Duplicates a Cartesian4 instance.

Return

The modified result parameter or a new Cartesian4 instance if one was not provided. (Returns undefined if cartesian is undefined)

Parameters

cartesian

The Cartesian to duplicate.

result

The object onto which to store the result.

See also