 | 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
Syntaxpublic virtual void Set(
Position position1,
Position position2,
int stride
)
Public Overridable Sub Set (
position1 As Position,
position2 As Position,
stride As Integer
)
public:
virtual void Set(
Position position1,
Position position2,
int stride
)
abstract Set :
position1 : Position *
position2 : Position *
stride : int -> unit
override Set :
position1 : Position *
position2 : Position *
stride : int -> unit
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.
ExceptionsException | Condition |
---|
InvalidArgumentException |
Thrown if the stride is zero or if the stride is not compatible with the start and end
positions.
|
See Also