Go to the documentation of this file. 1 #ifndef COMMONTOOLS_RECOALGOS_FKDPOINT_H
2 #define COMMONTOOLS_RECOALGOS_FKDPOINT_H
7 template <
class TYPE,
int numberOfDimensions>
13 static_assert(numberOfDimensions == 2,
"FKDPoint number of arguments does not match the number of dimensions");
21 static_assert(numberOfDimensions == 3,
"FKDPoint number of arguments does not match the number of dimensions");
30 static_assert(numberOfDimensions == 4,
"FKDPoint number of arguments does not match the number of dimensions");
void setId(const unsigned int id)
FKDPoint(TYPE x, TYPE y, TYPE z, TYPE w, unsigned int id=0)
FKDPoint(TYPE x, TYPE y, TYPE z, unsigned int id=0)
TYPE const & operator[](unsigned int const i) const
unsigned int getId() const
TYPE & operator[](unsigned int const i)
void setDimension(unsigned int i, const TYPE &value)
std::array< TYPE, numberOfDimensions > theElements
FKDPoint(TYPE x, TYPE y, unsigned int id=0)