#include <Math.h>
Static Public Member Functions | |
static byte | abs (byte x) |
static double | abs (double x) |
static float | abs (float x) |
static byte | abs (int x) |
template<class T> | |
static bool | epsilonEquals (T f, T g=(T) 0, T e=(T) EPSILON) |
template<class T> | |
static T | max (T x, T y) |
template<class T> | |
static T | max3 (T x[3]) |
template<class T> | |
static T | min (T x, T y) |
template<class T> | |
static T | sqr (T f) |
template<class T> | |
static void | swap (T &x, T &y) |
static double | toDegrees (double angrad) |
static double | toRadians (double angdeg) |
Static Public Attributes | |
static const double | PI = M_PI |
static const double | MAXDOUBLE = DBL_MAX |
static const double | MINDOUBLE = DBL_MIN |
static const double | EPSILON = 1.0e-12 |
Definition at line 16 of file Math.h.
|
Definition at line 35 of file Math.h. References abs(). |
|
|
|
|
|
|
Definition at line 39 of file Math.h. Referenced by _Matrix4< Type >::epsilonEquals(), _Matrix3< Type >::epsilonEquals(), _Tuple4< Type >::epsilonEquals(), _Tuple3< Type >::epsilonEquals(), _Tuple2< Type >::epsilonEquals(), _AxisAngle4< Type >::epsilonEquals(), and _Matrix3< Type >::setAxisAngle(). |
|
Definition at line 43 of file Math.h. Referenced by GMatrix::compute_rot(), GMatrix::compute_shift(), _Point4< Type >::distanceLinf(), _Point3< Type >::distanceLinf(), _Point2< Type >::distanceLinf(), and max3(). |
|
Definition at line 47 of file Math.h. References max(). Referenced by _Matrix4< Type >::get(), _Matrix4< Type >::getScale(), and _Matrix3< Type >::getScale(). |
|
Definition at line 51 of file Math.h. Referenced by GMatrix::compute_shift(), and GMatrix::set(). |
|
|
Definition at line 59 of file Math.h. Referenced by DoubleArray2::swap(), _Matrix3< Type >::swapColumn(), _Matrix3< Type >::swapRow(), GMatrix::transpose(), _Matrix4< Type >::transpose(), and _Matrix3< Type >::transpose(). |
|
Definition at line 65 of file Math.h. References PI. |
|
Definition at line 69 of file Math.h. References PI. Referenced by Matrix3SVD::test(). |
|
Definition at line 21 of file Math.h. Referenced by _Tuple4< Type >::operator==(), _Tuple3< Type >::operator==(), and _Tuple2< Type >::operator==(). |
|
|
|
|
|
Definition at line 18 of file Math.h. Referenced by _Quat4< Type >::interpolate(), toDegrees(), and toRadians(). |