PiecewiseCurve.SetDataPoints Method

Sets the data points at the specified indexes.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public void SetDataPoints(
	int[] indexes,
	Point[] newValues
)

Parameters

indexes  Int32[]
An integer array of zero-based indexes.
newValues  Point[]
An array of Point structures.

Exceptions

ArgumentOutOfRangeException

One or more of the indexes is less than zero or greater than NumberOfIntervals.
-or-
Setting the x values would cause the x values to no longer be in ascending order.

See Also