Click or drag to resize
DigitalRunePiecewiseCurveTParam, TPoint, TCurveKeySetItem Method
Replaces the element at the specified index.

Namespace: DigitalRune.Mathematics.Interpolation
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
protected override void SetItem(
	int index,
	TCurveKey item
)

Parameters

index
Type: SystemInt32
The zero-based index of the element to replace.
item
Type: TCurveKey
The new value for the element at the specified index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero. Or index is greater than Count.
ArgumentNullExceptionitem is .
See Also