PiecewiseCurve.OnParameterChanging Method

Called before the value of a curve parameter is changed.

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected override void OnParameterChanging(
	int index,
	double value
)

Parameters

index  Int32
An integer specifying the index of the coefficient.
value  Double
The value of the new coefficient.

Remarks

This method is called internally to ensure that the X values remain in ascending order.

Exceptions

ArgumentException Setting the value to would cause the X values to no longer be in ascending order.

See Also