SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::Impl< N, T > Struct Template Reference

#include <VecTypes.h>

default implementation for size >= 3 More...

Detailed Description

template<class TCoord, class TDeriv, class TReal = typename TCoord::value_type>
template<int N, class T>
struct sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::Impl< N, T >

default implementation for size >= 3

Static Public Member Functions

static void set (Coord &c, T x, T y, T z)
 
static void get (T &x, T &y, T &z, const Coord &c)
 
static void add (Coord &c, T x, T y, T z)
 

Function details

template<class TCoord, class TDeriv, class TReal = typename TCoord::value_type>
template<int N, class T >
static void sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::Impl< N, T >::add ( Coord c,
x,
y,
z 
)
inlinestatic
template<class TCoord, class TDeriv, class TReal = typename TCoord::value_type>
template<int N, class T >
static void sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::Impl< N, T >::get ( T &  x,
T &  y,
T &  z,
const Coord c 
)
inlinestatic
template<class TCoord, class TDeriv, class TReal = typename TCoord::value_type>
template<int N, class T >
static void sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::Impl< N, T >::set ( Coord c,
x,
y,
z 
)
inlinestatic