casa
$Rev:20696$
|
00001 #ifndef __BEAMCALC_CONSTANTS_H__ 00002 #define __BEAMCALC_CONSTANTS_H__ 00003 00004 #include <math.h> 00005 00006 /* X_Y = multiplicitive constant required to convert a number in X units to 00007 * a number in Y units. 00008 * 00009 * 39.37 * INCH_METER = 1.0 00010 */ 00011 00012 #define METER_INCH 39.37008 00013 #define INCH_METER (1.0/METER_INCH) 00014 00015 #define NS_METER 0.299792458 /* Exact */ 00016 #define METER_NS (1.0/NS_METER) 00017 00018 #define DEG_RAD M_PI/180.0 00019 #define RAD_DEG 180.0/M_PI 00020 00021 #endif