Click or drag to resize
DigitalRuneScatteredInterpolationFSetItem 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,
	Pair<VectorF, VectorF> item
)

Parameters

index
Type: SystemInt32
The zero-based index of the element to replace.
item
Type: DigitalRune.CollectionsPairVectorF, VectorF
The new value for the element at the specified index. The value can be for reference types.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero.
ArgumentOutOfRangeExceptionindex is equal to or greater than Count.
MathematicsException The vector dimension of a newly added vector is different from the dimensions of the already registered vectors.
ArgumentNullException The x or y vector in item is .
See Also