C library of triangulation algorithms (for the problems of mobile robot positioning or resection)
Macros | Typedefs
const.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define abs(x)   ( ( x < 0 ) ? -x : x )
 
#define adjust_value_to_bounds(value, max)   ( ( value > max ) ? max : ( ( value < -max ) ? -max : value ) )
 
#define Cos(x)   cos(x)
 
#define cot(x)   ( 1 / tan(x) )
 
#define Cot(x)   cot(x)
 
#define COT_MAX   100000000
 
#define DEG2RAD   (PI/180)
 
#define FOURPI   12.566370614
 
#define HALFPI   1.570796327
 
#define INVQUARTPI   1.273239545
 
#define INVTWOPI   0.159154943
 
#define PI   3.141592654
 The value of PI.
 
#define QUARTPI   0.785398163
 
#define RAD2DEG   (180/PI)
 
#define Sin(x)   sin(x)
 
#define Tan(x)   tan(x)
 
#define TWOPI   6.283185307
 

Typedefs

typedef double tfloat
 Defines the type for float/double.
 

Detailed Description

Author
Vincent Pierlot

Definition in file const.h.