planners/sequential/gdefs.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define BEGIN   {
#define END   }
#define TRUE   1
#define FALSE   0
#define DIV   /
#define MOD   %
#define OR   ||
#define AND   &&
#define NOT   !
#define EQ   ==
#define NEQ   !=
#define NL   printf("\n");
#define STAR   printf("*\n");
#define STARR   printf("**\n");
#define SQR(x)   ((x)*(x))
#define MIN(x, y)   ((x) <= (y) ? (x) : (y) )
#define MAX(x, y)   ((x) >= (y) ? (x) : (y) )
#define ABS(x)   ((x)<0 ? -(x) :(x) )
#define RADIAN(ang)   ( ((ang)/180.0)*PI )
#define DEGREE(rad)   ( ((rad)*180.0/PI )
#define ROUND(f)   ( (int)(f+0.5) )
#define BOUND_T(x, lnkno1)   ( x<0 ? 0 : (x >= dimt[lnkno1] ? dimt[lnkno1]-1 : x) )
#define BOUND_Q(x, lnkno1)   ( x<0 ? 0 : (x >= dimq[lnkno1] ? dimq[lnkno1]-1 : x) )
#define BOUND_W(x)   ( x<0 ? 0 : (x >= DIMX ? DIMX-1 : x) )
#define PASSIGN(p1, p2)   ( (p2).x = (p1).x; (p2).y = (p1).y )
#define PADD(p1, p2, psum)   ((psum).x=(p1).x+(p2).x; (psum).y=(p1).x+(p2).y;)

Typedefs

typedef char strngT [80]


Define Documentation

#define ABS  )     ((x)<0 ? -(x) :(x) )
 

Definition at line 33 of file gdefs.h.

Referenced by PL_Sequential::qdist().

#define AND   &&
 

Definition at line 15 of file gdefs.h.

#define BEGIN   {
 

Definition at line 6 of file gdefs.h.

#define BOUND_Q x,
lnkno1   )     ( x<0 ? 0 : (x >= dimq[lnkno1] ? dimq[lnkno1]-1 : x) )
 

Definition at line 39 of file gdefs.h.

#define BOUND_T x,
lnkno1   )     ( x<0 ? 0 : (x >= dimt[lnkno1] ? dimt[lnkno1]-1 : x) )
 

Definition at line 37 of file gdefs.h.

#define BOUND_W  )     ( x<0 ? 0 : (x >= DIMX ? DIMX-1 : x) )
 

Definition at line 41 of file gdefs.h.

#define DEGREE rad   )     ( ((rad)*180.0/PI )
 

Definition at line 35 of file gdefs.h.

#define DIV   /
 

Definition at line 12 of file gdefs.h.

#define END   }
 

Definition at line 7 of file gdefs.h.

#define EQ   ==
 

Definition at line 17 of file gdefs.h.

#define FALSE   0
 

Definition at line 10 of file gdefs.h.

#define MAX x,
 )     ((x) >= (y) ? (x) : (y) )
 

Definition at line 31 of file gdefs.h.

Referenced by PL_Sequential::compute_a_column_for_link_cspace(), PL_Sequential::find_main_path(), and PL_Sequential::smoothpath().

#define MIN x,
 )     ((x) <= (y) ? (x) : (y) )
 

Definition at line 28 of file gdefs.h.

Referenced by PL_Sequential::compute_a_column_for_link_cspace(), PL_Sequential::find_main_path(), and PL_Sequential::smoothpath().

#define MOD   %
 

Definition at line 13 of file gdefs.h.

#define NEQ   !=
 

Definition at line 18 of file gdefs.h.

#define NL   printf("\n");
 

Definition at line 19 of file gdefs.h.

#define NOT   !
 

Definition at line 16 of file gdefs.h.

#define OR   ||
 

Definition at line 14 of file gdefs.h.

#define PADD p1,
p2,
psum   )     ((psum).x=(p1).x+(p2).x; (psum).y=(p1).x+(p2).y;)
 

Definition at line 50 of file gdefs.h.

#define PASSIGN p1,
p2   )     ( (p2).x = (p1).x; (p2).y = (p1).y )
 

Definition at line 49 of file gdefs.h.

#define RADIAN ang   )     ( ((ang)/180.0)*PI )
 

Definition at line 34 of file gdefs.h.

Referenced by PL_Sequential::Plan().

#define ROUND  )     ( (int)(f+0.5) )
 

Definition at line 36 of file gdefs.h.

Referenced by PL_Sequential::find_main_path(), and PL_Sequential::reparameterize_path().

#define SQR  )     ((x)*(x))
 

Definition at line 26 of file gdefs.h.

#define STAR   printf("*\n");
 

Definition at line 20 of file gdefs.h.

#define STARR   printf("**\n");
 

Definition at line 21 of file gdefs.h.

#define TRUE   1
 

Definition at line 9 of file gdefs.h.


Typedef Documentation

typedef char strngT[80]
 

Definition at line 46 of file gdefs.h.


Generated on Sat Apr 1 21:43:40 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO