clone

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

Duplicates a Cartesian3 instance.

Return

The modified result parameter or a new Cartesian3 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