unpackInterpolationResult

fun unpackInterpolationResult(array: ReadonlyArray<Double>, sourceArray: ReadonlyArray<Double>, startingIndex: Int? = definedExternally, lastIndex: Int? = definedExternally, result: Any? = definedExternally): Any(source)

Retrieves an instance from a packed array converted with PackableForInterpolation.convertPackedArrayForInterpolation.

Return

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

Parameters

array

The array previously packed for interpolation.

sourceArray

The original packed array.

startingIndex

The startingIndex used to convert the array. Default value - 0

lastIndex

The lastIndex used to convert the array. Default value - packedArray.size

result

The object into which to store the result.

See also