unpackInterpolationResult
fun unpackInterpolationResult(array: ReadonlyArray<Double>, sourceArray: ReadonlyArray<Double>, firstIndex: Int? = definedExternally, lastIndex: Int? = definedExternally, result: Rotation? = definedExternally): Rotation(source)
Retrieves an instance from a packed array converted with Rotation.convertPackedArrayForInterpolation.
Return
The modified result parameter or a new Rotation instance if one was not provided.
Parameters
array
The array previously packed for interpolation.
sourceArray
The original packed array.
firstIndex
The firstIndex 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.