#include <MathSup.h>
Static Public Member Functions | |
static double | atan4quad (double y, double x) |
static double | calcDeltaAng (const double &a, const double &b) |
static double | convDegToRad (const double &dAngDeg) |
static double | convFloatToInt4Byte (double dVal) |
static double | convInt4ByteToFloat (int iVal) |
static double | convRadToDeg (const double &dAngRad) |
static double | distance (double x1, double y1, double x2, double y2) |
static double | distanceSq (double x1, double y1, double x2, double y2) |
static double | getMax (const double &a, const double &b) |
static double | getMin (const double &a, const double &b) |
static bool | isBitSet (int iVal, int iNrBit) |
static bool | isInInterval (double dLow, double dHigh, double dVal) |
static int | limit (double *pdToLimit, double dLimit) |
static int | limit (int *piToLimit, int iLimit) |
static void | normalize2Pi (double &angle) |
static void | normalizePi (double &angle) |
static void | normalizePiHalf (double &angle) |
static double | sign (const double &x) |
Static Public Attributes | |
static const double | HALF_PI = 1.5707963267948966192313216916398 |
Constant for PI/2. | |
static const double | PI = 3.14159265358979323846 |
Constant for PI. | |
static const double | TWO_PI = 6.283185307179586476925286766559 |
Constant for 2*PI. |
static double MathSup::atan4quad | ( | double | y, |
double | x | ||
) | [inline, static] |
static double MathSup::calcDeltaAng | ( | const double & | a, |
const double & | b | ||
) | [inline, static] |
static double MathSup::convDegToRad | ( | const double & | dAngDeg | ) | [inline, static] |
static double MathSup::convFloatToInt4Byte | ( | double | dVal | ) | [inline, static] |
static double MathSup::convInt4ByteToFloat | ( | int | iVal | ) | [inline, static] |
static double MathSup::convRadToDeg | ( | const double & | dAngRad | ) | [inline, static] |
static double MathSup::distance | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) | [inline, static] |
static double MathSup::distanceSq | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) | [inline, static] |
static double MathSup::getMax | ( | const double & | a, |
const double & | b | ||
) | [inline, static] |
static double MathSup::getMin | ( | const double & | a, |
const double & | b | ||
) | [inline, static] |
static bool MathSup::isBitSet | ( | int | iVal, |
int | iNrBit | ||
) | [inline, static] |
static bool MathSup::isInInterval | ( | double | dLow, |
double | dHigh, | ||
double | dVal | ||
) | [inline, static] |
static int MathSup::limit | ( | double * | pdToLimit, |
double | dLimit | ||
) | [inline, static] |
Limits a variable to the interval [-dLimit, dLimit].
pdToLimit | variable to be limited |
dLimit | bound of the interval [-dLimit, dLimit] |
static int MathSup::limit | ( | int * | piToLimit, |
int | iLimit | ||
) | [inline, static] |
Limits a variable to the interval [-dLimit, dLimit].
piToLimit | variable to be limited |
iLimit | bound of the interval [-dLimit, dLimit] |
static void MathSup::normalize2Pi | ( | double & | angle | ) | [inline, static] |
static void MathSup::normalizePi | ( | double & | angle | ) | [inline, static] |
static void MathSup::normalizePiHalf | ( | double & | angle | ) | [inline, static] |
static double MathSup::sign | ( | const double & | x | ) | [inline, static] |
const double MathSup::HALF_PI = 1.5707963267948966192313216916398 [static] |
const double MathSup::PI = 3.14159265358979323846 [static] |
const double MathSup::TWO_PI = 6.283185307179586476925286766559 [static] |