Size type for a 3D voxel.
More...
#include <VoxelSize.h>
|
constexpr float | operator[] (std::size_t idx) const noexcept |
| subscript operator for dimension access More...
|
|
float & | operator[] (std::size_t idx) noexcept |
| subscript operator for dimension access More...
|
|
Size type for a 3D voxel.
constexpr float CortidQCT::VoxelSize::operator[] |
( |
std::size_t |
idx | ) |
const |
|
inlinenoexcept |
subscript operator for dimension access
Order is:
- 0: width
- 1: height
- 2: depth
- Parameters
-
- Precondition
idx >= 0 && idx < 3
- Returns
- value of the indexed dimension
float& CortidQCT::VoxelSize::operator[] |
( |
std::size_t |
idx | ) |
|
|
inlinenoexcept |
subscript operator for dimension access
Order is:
- 0: width
- 1: height
- 2: depth
- Parameters
-
- Precondition
idx >= 0 && idx < 3
- Returns
- reference to indexed dimension
The documentation for this struct was generated from the following file: