unpack

open override fun unpack(array: ReadonlyArray<Double>, startingIndex: Int?, result: Cartesian2?): Cartesian2(source)

Retrieves an instance from a packed array.

Return

The modified result parameter or a new Cartesian2 instance if one was not provided.

Parameters

array

The packed array.

startingIndex

The starting index of the element to be unpacked. Default value - 0

result

The object into which to store the result.

See also