index Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines an N-dimensional index point.
template <
int _Rank
>
class index;
Public Constructors
|
Name |
Description |
|---|---|
|
Initializes a new instance of the index class. |
Public Operators
|
Name |
Description |
|---|---|
|
Decrements each element of the index object. |
|
|
Calculates the modulus (remainder) of each element in the index object when that element is divided by a number. |
|
|
Multiplies each element of the index object by a number. |
|
|
Divides each element of the index object by a number. |
|
|
Returns the element that's at the specified index. |
|
|
Increments each element of the index object. |
|
|
Adds the specified number to each element of the index object. |
|
|
Copies the contents of the specified index object into this one. |
|
|
Subtracts the specified number from each element of the index object. |
Public Constants
|
Name |
Description |
|---|---|
|
Stores the rank of the index object. |
The index structure represents a coordinate vector of N integers that specifies a unique position in an N-dimensional space. The values in the vector are ordered from most significant to least significant. For example, in Cartesian 3-dimensional space, the index vector (7,5,3) represents the position at (z=7, y=5, x=3). The position is relative to the origin in the N-dimensional space, and can contain negative values.