Terrace.InsertAtPos

Inserts the control point at the specified position in the internal control point array.

@param insertionPos The zero-based array position in which to insert the control point. @param value The value of the control point.

To make room for this new control point, this method reallocates the control point array and shifts all control points occurring after the insertion position up by one.

Because the curve mapping algorithm in this noise module requires that all control points in the array be sorted by value, the new control point should be inserted at the position in which the order is still preserved.

class Terrace
protected
void
InsertAtPos
(,
double value
)

Meta