44 template<
class T,
unsigned int DIM>
76 inline operator T()
const{
111 FixedArray(
const T &x,
const T &y,
const T &z) : x(x), y(y), z(z){}
115 struct { T x; T y; T
z; };
132 FixedArray(
const T &x,
const T &y,
const T &z,
const T &w) : x(x), y(y), z(z), w(w){}
FixedArray(const T &x, const T &y, const T &z, const T &w)
constructor with given values, x, y, z and w
Definition: FixedArray.h:132
T m_data[DIM]
Definition: FixedArray.h:46
const T & operator[](unsigned int idx) const
index access operator (const)
Definition: FixedArray.h:52
undocument this line if you encounter any issues!
Definition: Any.h:37
FixedArray()
empty constructor (leaving data uninitialized)
Definition: FixedArray.h:129
T & operator[](unsigned int idx)
index access operator
Definition: FixedArray.h:96
Fixed C++-array wrapper class for data handling.
Definition: FixedArray.h:45
T z
Definition: FixedArray.h:115
T & operator[](unsigned int idx)
index access operator
Definition: FixedArray.h:70
FixedArray(const T &x, const T &y)
constructor with given values, x and y
Definition: FixedArray.h:93
FixedArray()
empty constructor (leaving data uninitialized)
Definition: FixedArray.h:108
T h
Definition: FixedArray.h:141
const T & operator[](unsigned int idx) const
index access operator (const)
Definition: FixedArray.h:73
FixedArray()
empty constructor (leaving data uninitialized)
Definition: FixedArray.h:64
const T & operator[](unsigned int idx) const
index access operator (const)
Definition: FixedArray.h:99
T x
Definition: FixedArray.h:137
T & operator[](unsigned int idx)
index access operator
Definition: FixedArray.h:118
T y
Definition: FixedArray.h:138
FixedArray(const T &x, const T &y, const T &z)
constructor with given values, x, y and z
Definition: FixedArray.h:111
FixedArray()
empty constructor (leaving data uninitialized)
Definition: FixedArray.h:90
T x
Definition: FixedArray.h:60
T & operator[](unsigned int idx)
index access operator
Definition: FixedArray.h:49
T w
Definition: FixedArray.h:142
FixedArray(const T &x)
constructor with given value x
Definition: FixedArray.h:67
const T & operator[](unsigned int idx) const
index access operator (const)
Definition: FixedArray.h:151
T & operator[](unsigned int idx)
index access operator
Definition: FixedArray.h:148
T z
Definition: FixedArray.h:139
T y
Definition: FixedArray.h:86
const T & operator[](unsigned int idx) const
index access operator (const)
Definition: FixedArray.h:121