Gets the data point with the specified index.

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function GetDataPoint ( _
	index As Integer _
) As Point
C#
public Point GetDataPoint (
	int index
)
C++
public:
Point GetDataPoint (
	int index
)

Parameters

index (System.Int32)
A zero-based index.

Return Value

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

ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero or greater than NumberOfIntervals.

See Also