Click or drag to resize

SliceSet Method (Position, Position, Int32)

Sets the specified start and end positions and a stride.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
public virtual void Set(
	Position position1,
	Position position2,
	int stride
)

Parameters

position1
Type: CenterSpace.NMath.CorePosition
A value from the Position enumeration indicating the start of the data.
position2
Type: CenterSpace.NMath.CorePosition
A value from the Position enumeration indicating the end of the data.
stride
Type: SystemInt32
The step increment between successive data elements.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if the stride is zero or if the stride is not compatible with the start and end positions.
See Also