#include <VecTypes.h>
Classes | |
struct | Impl |
Static Public Attributes | |
static constexpr sofa::Size | spatial_dimensions = Coord::spatial_dimensions |
static constexpr sofa::Size | coord_total_size = Coord::total_size |
static constexpr sofa::Size | deriv_total_size = Deriv::total_size |
Static Public Member Functions | |
static constexpr const CPos & | getCPos (const Coord &c) |
static constexpr void | setCPos (Coord &c, const CPos &v) |
static constexpr const DPos & | getDPos (const Deriv &d) |
static constexpr void | setDPos (Deriv &d, const DPos &v) |
template<typename T > | |
static constexpr void | set (Coord &c, T x, T y, T z) |
template<typename T > | |
static constexpr void | get (T &x, T &y, T &z, const Coord &c) |
static Deriv | randomDeriv (Real minMagnitude, Real maxMagnitude) |
Return a Deriv with random value. Each entry with magnitude smaller than the given value. More... | |
static constexpr Deriv | coordDifference (const Coord &c1, const Coord &c2) |
template<typename T > | |
static constexpr void | add (Coord &c, T x, T y, T z) |
static constexpr const char * | Name () |
static Coord | interpolate (const type::vector< Coord > &ancestors, const type::vector< Real > &coefs) |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestatic |
|
staticconstexpr |
|
inlinestatic |
Return a Deriv with random value. Each entry with magnitude smaller than the given value.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |