PiecewiseCurve.GetDataPoint Method

Note: This API is now obsolete.
Gets the data point with the specified index.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
[ObsoleteAttribute("The Point struct is deprecated. This method will be removed in a future release.")]
public Point GetDataPoint(
	int index
)

Parameters

index  Int32
A zero-based index.

Return Value

Point
A Point structure containing the coordinates at the specified index.

Remarks

If index is less than NumberOfIntervals, the data point returned corresponds to the lower bound of the indexth interval. If index equals NumberOfIntervals, the data point corresponds to the upper bound of the last interval.

Exceptions

ArgumentOutOfRangeException

index is less than zero or greater than NumberOfIntervals.

See Also