#include <cyclic_vec.h>
Public Member Functions | |
float | cross2d (const CyclicVecBase< DIM, NONCYCLIC, T > &a) const |
template<typename... ArgList> | |
void | cycle (const int res, const ArgList &...rest) |
void | cycle (const CyclicVecBase< DIM, NONCYCLIC, T > &res) |
template<typename... ArgList> | |
void | cycleUnsigned (const int res, const ArgList &...rest) |
void | cycleUnsigned (const CyclicVecBase< DIM, NONCYCLIC, T > &res) |
template<typename T2 > | |
CyclicVecBase (const CyclicVecBase< DIM, NONCYCLIC, T2 > &c) noexcept | |
template<typename... ArgList> | |
CyclicVecBase (const float &v, const ArgList &...args) noexcept | |
template<typename... ArgList> | |
CyclicVecBase (const int &v, const ArgList &...args) noexcept | |
CyclicVecBase () noexcept | |
float | distLine2d (const CyclicVecBase< DIM, NONCYCLIC, T > &a, const CyclicVecBase< DIM, NONCYCLIC, T > &b) const |
float | distLinestrip2d (const CyclicVecBase< DIM, NONCYCLIC, T > &a, const CyclicVecBase< DIM, NONCYCLIC, T > &b) const |
float | dot2d (const CyclicVecBase< DIM, NONCYCLIC, T > &a) const |
float | gridToLenFactor () const |
bool | isExceeded (const CyclicVecBase< DIM, NONCYCLIC, int > &v) const |
float | len () const |
float | norm () const |
template<typename T2 > | |
bool | operator!= (const CyclicVecBase< DIM, NONCYCLIC, T2 > &v) const |
size_t | operator() (const CyclicVecBase &key) const |
template<typename T2 > | |
CyclicVecBase< DIM, NONCYCLIC, T2 > | operator* (const CyclicVecBase< DIM, NONCYCLIC, T2 > &v) const |
template<typename T2 > | |
CyclicVecBase< DIM, NONCYCLIC, T2 > | operator+ (const CyclicVecBase< DIM, NONCYCLIC, T2 > &v) const |
template<typename T2 > | |
CyclicVecBase< DIM, NONCYCLIC, T2 > | operator- (const CyclicVecBase< DIM, NONCYCLIC, T2 > &v) const |
template<typename T2 > | |
bool | operator== (const CyclicVecBase< DIM, NONCYCLIC, T2 > &v) const |
T & | operator[] (const int &x) |
const T & | operator[] (const int &x) const |
void | rotate (const float ang) |
T | sqlen () const |
Protected Member Functions | |
void | cycleElement (const int i, const int res) |
template<typename... ArgList> | |
void | cycleElements (const int i, const int res, const ArgList &...rest) |
void | cycleElements (const int i) |
void | cycleUnsignedElement (const int i, const int res) |
template<typename... ArgList> | |
void | cycleUnsignedElements (const int i, const int res, const ArgList &...rest) |
void | cycleUnsignedElements (const int i) |
template<typename T2 , typename... ArgList> | |
void | setElements (const int i, const T2 &first, const ArgList &...rest) noexcept |
void | setElements (const int i) noexcept |
Protected Attributes | |
T | e_ [DIM] |
Definition at line 78 of file cyclic_vec.h.
|
inlineexplicitnoexcept |
Definition at line 143 of file cyclic_vec.h.
|
inlineexplicitnoexcept |
Definition at line 149 of file cyclic_vec.h.
|
inlineexplicitnoexcept |
Definition at line 154 of file cyclic_vec.h.
|
inlinenoexcept |
Definition at line 158 of file cyclic_vec.h.
|
inline |
Definition at line 206 of file cyclic_vec.h.
|
inline |
Definition at line 282 of file cyclic_vec.h.
|
inline |
Definition at line 295 of file cyclic_vec.h.
|
inlineprotected |
Definition at line 106 of file cyclic_vec.h.
|
inlineprotected |
Definition at line 99 of file cyclic_vec.h.
|
inlineprotected |
Definition at line 116 of file cyclic_vec.h.
|
inline |
Definition at line 289 of file cyclic_vec.h.
|
inline |
Definition at line 302 of file cyclic_vec.h.
|
inlineprotected |
Definition at line 128 of file cyclic_vec.h.
|
inlineprotected |
Definition at line 121 of file cyclic_vec.h.
|
inlineprotected |
Definition at line 136 of file cyclic_vec.h.
|
inline |
Definition at line 214 of file cyclic_vec.h.
|
inline |
Definition at line 220 of file cyclic_vec.h.
|
inline |
Definition at line 210 of file cyclic_vec.h.
|
inline |
Definition at line 253 of file cyclic_vec.h.
|
inline |
Definition at line 323 of file cyclic_vec.h.
|
inline |
Definition at line 249 of file cyclic_vec.h.
|
inline |
Definition at line 258 of file cyclic_vec.h.
|
inline |
Definition at line 172 of file cyclic_vec.h.
|
inline |
Definition at line 311 of file cyclic_vec.h.
|
inline |
Definition at line 197 of file cyclic_vec.h.
|
inline |
Definition at line 177 of file cyclic_vec.h.
|
inline |
Definition at line 187 of file cyclic_vec.h.
|
inline |
Definition at line 164 of file cyclic_vec.h.
|
inline |
Definition at line 232 of file cyclic_vec.h.
|
inline |
Definition at line 236 of file cyclic_vec.h.
|
inline |
Definition at line 268 of file cyclic_vec.h.
|
inlineprotectednoexcept |
Definition at line 86 of file cyclic_vec.h.
|
inlineprotectednoexcept |
Definition at line 93 of file cyclic_vec.h.
|
inline |
Definition at line 240 of file cyclic_vec.h.
|
protected |
Definition at line 82 of file cyclic_vec.h.