SOFA API  28a8aa1b
Open source framework for multi-physics simuation
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::Impl< N, T > Struct Template Reference

#include <VecTypes.h>

Static Public Member Functions

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

Function details

◆ add()

template<class TCoord , class TDeriv , class TReal >
template<Size N, class T >
static constexpr void sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::Impl< N, T >::add ( Coord c,
x,
y,
z 
)
inlinestaticconstexpr

◆ get()

template<class TCoord , class TDeriv , class TReal >
template<Size N, class T >
static constexpr void sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::Impl< N, T >::get ( T &  x,
T &  y,
T &  z,
const Coord c 
)
inlinestaticconstexpr

◆ set()

template<class TCoord , class TDeriv , class TReal >
template<Size N, class T >
static constexpr void sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::Impl< N, T >::set ( Coord c,
x,
y,
z 
)
inlinestaticconstexpr