grid Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents an N-dimensional index space that has an origin and an extent.
template < int _Rank > struct grid : public _Grid_base<_Rank, grid<_Rank>>;
Public Constructors
|
Name |
Description |
|---|---|
|
Initializes a new instance of the grid class. |
Public Methods
|
Name |
Description |
|---|---|
|
Verifies that the specified grid object has the specified rank. |
|
|
Returns the total linear size of the extent of the grid object, in units of elements. |
|
|
Creates a tiled_grid object that uses the specified tile extents. The overload used must match the rank of this grid object. |
Public Data Members
|
Name |
Description |
|---|---|
|
Gets the extent object that defines the shape of the grid object. |
A grid is an indexed space that specifies an index (location) and extent (size).For example, a grid<3> defined by index<3>(5,6,7) and extent<3>(2,3,4) contains all points described by the following statements.
5 ≤ first index value < 5+2 6 ≤ second index value < 6+3 7 ≤ third index value < 7+4
The size of a grid is the product of the values of the extent component and is returned by the get_size method. In the previous example, the size of the grid is 24.