Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CyclicVecBase< DIM, NONCYCLIC, T > Class Template Reference

#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)
 
sqlen () const
 

Protected Member Functions

template<typename... ArgList>
void cycleElements (const int i, const int res, const ArgList &...rest)
 
void cycleElements (const int i)
 
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

e_ [DIM]
 

Detailed Description

template<int DIM, int NONCYCLIC, typename T>
class CyclicVecBase< DIM, NONCYCLIC, T >

Definition at line 76 of file cyclic_vec.h.

Constructor & Destructor Documentation

template<int DIM, int NONCYCLIC, typename T>
template<typename T2 >
CyclicVecBase< DIM, NONCYCLIC, T >::CyclicVecBase ( const CyclicVecBase< DIM, NONCYCLIC, T2 > &  c)
inlineexplicitnoexcept

Definition at line 135 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename... ArgList>
CyclicVecBase< DIM, NONCYCLIC, T >::CyclicVecBase ( const float &  v,
const ArgList &...  args 
)
inlineexplicitnoexcept

Definition at line 141 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename... ArgList>
CyclicVecBase< DIM, NONCYCLIC, T >::CyclicVecBase ( const int &  v,
const ArgList &...  args 
)
inlineexplicitnoexcept

Definition at line 146 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
CyclicVecBase< DIM, NONCYCLIC, T >::CyclicVecBase ( )
inlinenoexcept

Definition at line 150 of file cyclic_vec.h.

Member Function Documentation

template<int DIM, int NONCYCLIC, typename T>
float CyclicVecBase< DIM, NONCYCLIC, T >::cross2d ( const CyclicVecBase< DIM, NONCYCLIC, T > &  a) const
inline

Definition at line 196 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename... ArgList>
void CyclicVecBase< DIM, NONCYCLIC, T >::cycle ( const int  res,
const ArgList &...  rest 
)
inline

Definition at line 272 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
void CyclicVecBase< DIM, NONCYCLIC, T >::cycle ( const CyclicVecBase< DIM, NONCYCLIC, T > &  res)
inline

Definition at line 285 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename... ArgList>
void CyclicVecBase< DIM, NONCYCLIC, T >::cycleElements ( const int  i,
const int  res,
const ArgList &...  rest 
)
inlineprotected

Definition at line 97 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
void CyclicVecBase< DIM, NONCYCLIC, T >::cycleElements ( const int  i)
inlineprotected

Definition at line 111 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename... ArgList>
void CyclicVecBase< DIM, NONCYCLIC, T >::cycleUnsigned ( const int  res,
const ArgList &...  rest 
)
inline

Definition at line 279 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
void CyclicVecBase< DIM, NONCYCLIC, T >::cycleUnsigned ( const CyclicVecBase< DIM, NONCYCLIC, T > &  res)
inline

Definition at line 292 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename... ArgList>
void CyclicVecBase< DIM, NONCYCLIC, T >::cycleUnsignedElements ( const int  i,
const int  res,
const ArgList &...  rest 
)
inlineprotected

Definition at line 116 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
void CyclicVecBase< DIM, NONCYCLIC, T >::cycleUnsignedElements ( const int  i)
inlineprotected

Definition at line 128 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
float CyclicVecBase< DIM, NONCYCLIC, T >::distLine2d ( const CyclicVecBase< DIM, NONCYCLIC, T > &  a,
const CyclicVecBase< DIM, NONCYCLIC, T > &  b 
) const
inline

Definition at line 204 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
float CyclicVecBase< DIM, NONCYCLIC, T >::distLinestrip2d ( const CyclicVecBase< DIM, NONCYCLIC, T > &  a,
const CyclicVecBase< DIM, NONCYCLIC, T > &  b 
) const
inline

Definition at line 210 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
float CyclicVecBase< DIM, NONCYCLIC, T >::dot2d ( const CyclicVecBase< DIM, NONCYCLIC, T > &  a) const
inline

Definition at line 200 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
float CyclicVecBase< DIM, NONCYCLIC, T >::gridToLenFactor ( ) const
inline

Definition at line 243 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
bool CyclicVecBase< DIM, NONCYCLIC, T >::isExceeded ( const CyclicVecBase< DIM, NONCYCLIC, int > &  v) const
inline

Definition at line 313 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
float CyclicVecBase< DIM, NONCYCLIC, T >::len ( ) const
inline

Definition at line 239 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
float CyclicVecBase< DIM, NONCYCLIC, T >::norm ( ) const
inline

Definition at line 248 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename T2 >
bool CyclicVecBase< DIM, NONCYCLIC, T >::operator!= ( const CyclicVecBase< DIM, NONCYCLIC, T2 > &  v) const
inline

Definition at line 162 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
size_t CyclicVecBase< DIM, NONCYCLIC, T >::operator() ( const CyclicVecBase< DIM, NONCYCLIC, T > &  key) const
inline

Definition at line 301 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename T2 >
CyclicVecBase<DIM, NONCYCLIC, T2> CyclicVecBase< DIM, NONCYCLIC, T >::operator* ( const CyclicVecBase< DIM, NONCYCLIC, T2 > &  v) const
inline

Definition at line 187 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename T2 >
CyclicVecBase<DIM, NONCYCLIC, T2> CyclicVecBase< DIM, NONCYCLIC, T >::operator+ ( const CyclicVecBase< DIM, NONCYCLIC, T2 > &  v) const
inline

Definition at line 167 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename T2 >
CyclicVecBase<DIM, NONCYCLIC, T2> CyclicVecBase< DIM, NONCYCLIC, T >::operator- ( const CyclicVecBase< DIM, NONCYCLIC, T2 > &  v) const
inline

Definition at line 177 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename T2 >
bool CyclicVecBase< DIM, NONCYCLIC, T >::operator== ( const CyclicVecBase< DIM, NONCYCLIC, T2 > &  v) const
inline

Definition at line 154 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
T& CyclicVecBase< DIM, NONCYCLIC, T >::operator[] ( const int &  x)
inline

Definition at line 222 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
const T& CyclicVecBase< DIM, NONCYCLIC, T >::operator[] ( const int &  x) const
inline

Definition at line 226 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
void CyclicVecBase< DIM, NONCYCLIC, T >::rotate ( const float  ang)
inline

Definition at line 258 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename T2 , typename... ArgList>
void CyclicVecBase< DIM, NONCYCLIC, T >::setElements ( const int  i,
const T2 &  first,
const ArgList &...  rest 
)
inlineprotectednoexcept

Definition at line 84 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
void CyclicVecBase< DIM, NONCYCLIC, T >::setElements ( const int  i)
inlineprotectednoexcept

Definition at line 91 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
T CyclicVecBase< DIM, NONCYCLIC, T >::sqlen ( ) const
inline

Definition at line 230 of file cyclic_vec.h.

Member Data Documentation

template<int DIM, int NONCYCLIC, typename T>
T CyclicVecBase< DIM, NONCYCLIC, T >::e_[DIM]
protected

Definition at line 80 of file cyclic_vec.h.


The documentation for this class was generated from the following file:


planner_cspace
Author(s): Atsushi Watanabe
autogenerated on Tue Jul 9 2019 05:00:13