Curve.FindInsertionPos

Determines the array index in which to insert the control point into the internal control point array.

@param inputValue The input value of the control point.

@returns The array index in which to insert the control point.

@pre No two control points have the same input value.

@throw new ExceptionInvalidParam An invalid parameter was specified; see the preconditions for more information.

By inserting the control point at the returned array index, this class ensures that the control point array is sorted by input value. The code that maps a value onto the curve requires a sorted control point array.

class Curve
protected
int
FindInsertionPos
(
double inputValue
)

Meta