#include <sofa/helper/system/config.h>#include <math.h>


Go to the source code of this file.
Namespaces | |
| namespace | sofa |
| Main SOFA namespace. | |
| namespace | sofa::helper |
| Utility helper classes that we need, but that are not the core of the plateform. | |
Defines | |
| #define | R_PI 3.141592653589793238462 |
Functions | |
| template<class real > | |
| int | sofa::helper::rfloor (real r) |
| template<class real > | |
| int | sofa::helper::rnear (real r) |
| int | sofa::helper::rceil (double r) |
| template<class real > | |
| real | sofa::helper::rabs (real r) |
| template<class real > | |
| real | sofa::helper::rmin (real r, real s) |
| template<class real > | |
| real | sofa::helper::rmax (real r, real s) |
| template<class T > | |
| T | sofa::helper::rlerp (const T &a, const T &b, float f) |
| template<class T > | |
| T | sofa::helper::rsqrt (const T &a) |
| double | sofa::helper::rsqrt (const double &a) |
| long double | sofa::helper::rsqrt (const long double &a) |
| template<class T > | |
| const T | sofa::helper::SQR (const T &a) |
| template<class T > | |
| const T | sofa::helper::SIGN (const T &a, const T &b) |
| template<class T > | |
| void | sofa::helper::SWAP (T &a, T &b) |
| void | sofa::helper::shft3 (double &a, double &b, double &c, const double d) |
| #define R_PI 3.141592653589793238462 |
Definition at line 42 of file rmath.h.
Referenced by sofa::component::forcefield::SPHFluidForceField< DataTypes >::constWc(), sofa::component::forcefield::SPHFluidForceField< DataTypes >::constWd(), sofa::component::forcefield::SPHFluidForceField< DataTypes >::constWp(), sofa::component::forcefield::SPHFluidForceField< DataTypes >::constWv(), sofa::defaulttype::RigidMass< 2, real >::RigidMass(), and sofa::component::collision::ContinuousTriangleIntersection::solveCubic().
1.5.7.1