Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

defs.h File Reference

#include <fstream>
#include <iostream>

Go to the source code of this file.

Defines

#define PI   3.1415926535897932385
#define INFINITY   1.0e40
#define sqr(x)   ((x)*(x))
#define min(x, y)   ((x<y) ? x : y)
#define max(x, y)   ((x>y) ? x : y)
#define READ_OPTIONAL_PARAMETER(F)
#define READ_PARAMETER_OR_DEFAULT(F, D)
#define READ_PARAMETER_OR_ERROR(F)
#define forall(x, S)   for (x = S.begin(); x != S.end(); x++)\


Define Documentation

#define forall x,
     for (x = S.begin(); x != S.end(); x++)\
 

#define INFINITY   1.0e40
 

#define max x,
y       ((x>y) ? x : y)
 

#define min x,
y       ((x<y) ? x : y)
 

#define PI   3.1415926535897932385
 

#define READ_OPTIONAL_PARAMETER  
 

Value:

_msl_fin.clear();\
_msl_fin.open((FilePath+""#F"").c_str());\
if (_msl_fin) {_msl_fin >> F;}\
_msl_fin.close();\

#define READ_PARAMETER_OR_DEFAULT F,
 
 

Value:

_msl_fin.clear();\
_msl_fin.open((FilePath+""#F"").c_str());\
if (_msl_fin) {_msl_fin >> F;}\
else F = D;\
_msl_fin.close();\

#define READ_PARAMETER_OR_ERROR  
 

Value:

_msl_fin.clear();\
_msl_fin.open((FilePath+""#F"").c_str());\
if (_msl_fin) {_msl_fin >> F; _msl_fin.close();}\
else {cerr << "Error reading "#F"\n"; exit(-1);}\
_msl_fin.close();\

#define sqr x       ((x)*(x))
 

Motion Strategy Library


Web page maintained by Steve LaValle