40 inline constexpr
float operator[](std::size_t idx)
const noexcept {
41 assert(idx < 3 &&
"Index out of bounds");
65 assert(idx < 3 &&
"Index out of bounds");
Name namespace for CortidQCT library.
Definition: CortidQCT.h:23
constexpr float operator[](std::size_t idx) const noexcept
subscript operator for dimension access
Definition: VoxelSize.h:40
float depth
Size along the z-axis.
Definition: VoxelSize.h:28
Size type for a 3D voxel.
Definition: VoxelSize.h:22
float width
Size along the x-axis.
Definition: VoxelSize.h:24
float height
Size along the y-axis.
Definition: VoxelSize.h:26
float & operator[](std::size_t idx) noexcept
subscript operator for dimension access
Definition: VoxelSize.h:64