Defines | Functions
MQMath.h File Reference
#include <math.h>
Include dependency graph for MQMath.h:
This graph shows which files directly or indirectly include this file:

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))

Definition at line 20 of file MQMath.h.

#define DEG_T_RAD   PI/180.0

Definition at line 16 of file MQMath.h.

#define DEG_TO_MICRO (   x)    (RAD_TO_MICRO((DEG_TO_RAD((x)))))

Definition at line 11 of file MQMath.h.

#define DEG_TO_RAD (   x)    ((double)((x)*PI)/180.0)

Definition at line 9 of file MQMath.h.

#define MICRO_TO_DEG (   x)    (RAD_TO_DEG((MICRO_TO_RAD((x)))))

Definition at line 14 of file MQMath.h.

#define MICRO_TO_RAD (   x)    ((double)(x)/1000000.0)

Definition at line 13 of file MQMath.h.

#define PI   3.141592

Definition at line 6 of file MQMath.h.

#define PI_L   3141592L

Definition at line 7 of file MQMath.h.

#define RAD_T_DEG   180.0/PI

Definition at line 17 of file MQMath.h.

#define RAD_TO_DEG (   x)    ((double)((x)*180.0)/PI)

Definition at line 12 of file MQMath.h.

#define RAD_TO_MICRO (   x)    ((long)((x)*1000000))

Definition at line 10 of file MQMath.h.

#define SQUARE (   x)    ((x) * (x))

Definition at line 19 of file MQMath.h.


Function Documentation

double AngleFromXY ( double  x,
double  y,
double  ori,
double  x2,
double  y2 
) [inline]

Definition at line 41 of file MQMath.h.

double AngleFromXY2 ( double  x,
double  y,
double  ori,
double  x2,
double  y2 
) [inline]

Definition at line 46 of file MQMath.h.

double DistFromXY ( double  x,
double  y,
double  x2,
double  y2 
) [inline]

Definition at line 36 of file MQMath.h.

double Normalise_PI ( double  angle) [inline]

Definition at line 25 of file MQMath.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda, Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Tue Sep 24 2013 10:41:51