Uses a linear function to interpolate the values in the source array with the specified number of steps.
int32 LinearInterpolate( Int16Iterator first, Int16Iterator last, Int16Iterator dest, int32 p_nStepCount )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Int16Iterator> | first | An iterator at the start of the range you wish to linear interpolate. |
<Int16Iterator> | last | An iterator at the end of the range you wish to linear interpolate. |
<Int16Iterator> | dest | An iterator at the destination that stores the interpolated values. There must be enough storage here to store the number of values specified by the step count parameter. |
int32 | p_nStepCount | An <int32> that defines the number of steps in the interpolation. This is the number of values that will be produced. |
None published. Please look for an example in the Scenome Scripting Language code base.