MQMath.h File Reference
#include <math.h>
Go to the source code of this file.
Defines |
#define | ABS(x) (((x)>0)?(x):-1*(x)) |
#define | DEG_T_RAD PI/180.0 |
#define | DEG_TO_MICRO(x) (RAD_TO_MICRO((DEG_TO_RAD((x))))) |
#define | DEG_TO_RAD(x) ((double)((x)*PI)/180.0) |
#define | MICRO_TO_DEG(x) (RAD_TO_DEG((MICRO_TO_RAD((x))))) |
#define | MICRO_TO_RAD(x) ((double)(x)/1000000.0) |
#define | PI 3.141592 |
#define | PI_L 3141592L |
#define | RAD_T_DEG 180.0/PI |
#define | RAD_TO_DEG(x) ((double)((x)*180.0)/PI) |
#define | RAD_TO_MICRO(x) ((long)((x)*1000000)) |
#define | SQUARE(x) ((x) * (x)) |
Functions |
double | AngleFromXY (double x, double y, double ori, double x2, double y2) |
double | AngleFromXY2 (double x, double y, double ori, double x2, double y2) |
double | DistFromXY (double x, double y, double x2, double y2) |
double | Normalise_PI (double angle) |
Define Documentation
#define ABS |
( |
x |
|
) |
(((x)>0)?(x):-1*(x)) |
#define DEG_T_RAD PI/180.0 |
#define DEG_TO_MICRO |
( |
x |
|
) |
(RAD_TO_MICRO((DEG_TO_RAD((x))))) |
#define DEG_TO_RAD |
( |
x |
|
) |
((double)((x)*PI)/180.0) |
#define MICRO_TO_DEG |
( |
x |
|
) |
(RAD_TO_DEG((MICRO_TO_RAD((x))))) |
#define MICRO_TO_RAD |
( |
x |
|
) |
((double)(x)/1000000.0) |
#define RAD_T_DEG 180.0/PI |
#define RAD_TO_DEG |
( |
x |
|
) |
((double)((x)*180.0)/PI) |
#define RAD_TO_MICRO |
( |
x |
|
) |
((long)((x)*1000000)) |
#define SQUARE |
( |
x |
|
) |
((x) * (x)) |
Function Documentation
double AngleFromXY |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
ori, |
|
|
double |
x2, |
|
|
double |
y2 | |
|
) |
| | [inline] |
double AngleFromXY2 |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
ori, |
|
|
double |
x2, |
|
|
double |
y2 | |
|
) |
| | [inline] |
double DistFromXY |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
x2, |
|
|
double |
y2 | |
|
) |
| | [inline] |
double Normalise_PI |
( |
double |
angle |
) |
[inline] |
art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda,
Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Fri Mar 1 14:12:34 2013