template<class T>
Array3D class
Three-dimensional array.
Template parameters | |
---|---|
T | Data type |
Contents
Base classes
-
template<UnsignedInt dimensions, class T>class Array
- Array.
Constructors, destructors, conversion operators
Public functions
Function documentation
template<class T>
Magnum:: Array3D<T>:: Array3D() constexpr
Default constructor.
Sets all components to their default-constructed values.
template<class T>
Magnum:: Array3D<T>:: Array3D(T x,
T y,
T z) constexpr
Constructor.
Parameters | |
---|---|
x | X component |
y | Y component |
z | Z component |
template<class T>
T Magnum:: Array3D<T>:: x() const constexpr
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<class T>
T Magnum:: Array3D<T>:: y() const constexpr
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<class T>
T Magnum:: Array3D<T>:: z() const constexpr
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<class T>
template<class T>
Debug& operator<<(Debug& debug,
const Array3D<T>& value)
Debug output operator.