Immutable view over a single column in the grid.
More...
#include <spk_grid_2d.hpp>
|
| const Unit & | operator[] (size_t y) const |
| | Read-only access to an element within the column.
|
|
|
const Unit * | ptr |
| | Pointer to the first element of the column slice.
|
|
size_t | len |
| | Number of elements in the column slice.
|
template<typename T>
struct spk::Grid2D< T >::ConstRow
Immutable view over a single column in the grid.
◆ operator[]()
Read-only access to an element within the column.
- Parameters
-
| y | Row index inside the column. |
- Returns
- Const reference to the requested cell.
The documentation for this struct was generated from the following file: