Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
planner_cspace::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

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

e_ [DIM]
 

Detailed Description

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

Definition at line 78 of file cyclic_vec.h.

Constructor & Destructor Documentation

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

Definition at line 143 of file cyclic_vec.h.

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

Definition at line 149 of file cyclic_vec.h.

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

Definition at line 154 of file cyclic_vec.h.

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

Definition at line 158 of file cyclic_vec.h.

Member Function Documentation

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

Definition at line 206 of file cyclic_vec.h.

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

Definition at line 282 of file cyclic_vec.h.

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

Definition at line 295 of file cyclic_vec.h.

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

Definition at line 106 of file cyclic_vec.h.

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

Definition at line 99 of file cyclic_vec.h.

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

Definition at line 116 of file cyclic_vec.h.

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

Definition at line 289 of file cyclic_vec.h.

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

Definition at line 302 of file cyclic_vec.h.

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

Definition at line 128 of file cyclic_vec.h.

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

Definition at line 121 of file cyclic_vec.h.

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

Definition at line 136 of file cyclic_vec.h.

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

Definition at line 214 of file cyclic_vec.h.

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

Definition at line 220 of file cyclic_vec.h.

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

Definition at line 210 of file cyclic_vec.h.

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

Definition at line 253 of file cyclic_vec.h.

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

Definition at line 323 of file cyclic_vec.h.

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

Definition at line 249 of file cyclic_vec.h.

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

Definition at line 258 of file cyclic_vec.h.

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

Definition at line 172 of file cyclic_vec.h.

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

Definition at line 311 of file cyclic_vec.h.

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

Definition at line 197 of file cyclic_vec.h.

template<int DIM, int NONCYCLIC, typename T>
template<typename T2 >
CyclicVecBase<DIM, NONCYCLIC, T2> planner_cspace::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 >
CyclicVecBase<DIM, NONCYCLIC, T2> planner_cspace::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 >
bool planner_cspace::CyclicVecBase< DIM, NONCYCLIC, T >::operator== ( const CyclicVecBase< DIM, NONCYCLIC, T2 > &  v) const
inline

Definition at line 164 of file cyclic_vec.h.

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

Definition at line 232 of file cyclic_vec.h.

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

Definition at line 236 of file cyclic_vec.h.

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

Definition at line 268 of file cyclic_vec.h.

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

Definition at line 86 of file cyclic_vec.h.

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

Definition at line 93 of file cyclic_vec.h.

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

Definition at line 240 of file cyclic_vec.h.

Member Data Documentation

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

Definition at line 82 of file cyclic_vec.h.


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


planner_cspace
Author(s): Atsushi Watanabe
autogenerated on Wed May 12 2021 02:20:43