11 #define G3D_LONG_LENGTH sizeof (long)
13 #define G3D_XDR_INT_LENGTH 4
14 #define G3D_XDR_DOUBLE_LENGTH 8
15 #define G3D_XDR_FLOAT_LENGTH 4
17 #define G3D_IS_CORRECT_TYPE(t) (((t) == FCELL_TYPE) || ((t) == DCELL_TYPE))
19 #define G3D_WRITE_DATA 1
20 #define G3D_READ_DATA 0
22 #define G3D_VALID_OPERATION(o) \
23 (((o) == G3D_WRITE_DATA) || ((o) == G3D_READ_DATA))
25 #define G3D_MIN(a,b) ((a) <= (b) ? (a) : (b))
26 #define G3D_MAX(a,b) ((a) >= (b) ? (a) : (b))
28 #define G3D_HAS_INDEX 1
29 #define G3D_NO_INDEX 0
34 #define G3D_VALID_XDR_OPTION(o) (((o) == G3D_USE_XDR) || ((o) == G3D_NO_XDR))
71 #define G3D_REGION_NORTH "North"
72 #define G3D_REGION_SOUTH "South"
73 #define G3D_REGION_EAST "East"
74 #define G3D_REGION_WEST "West"
75 #define G3D_REGION_TOP "Top"
76 #define G3D_REGION_BOTTOM "Bottom"
77 #define G3D_REGION_ROWS "nofRows"
78 #define G3D_REGION_COLS "nofCols"
79 #define G3D_REGION_DEPTHS "nofDepths"
80 #define G3D_REGION_PROJ "Proj"
81 #define G3D_REGION_ZONE "Zone"
82 #define G3D_REGION_EWRES "e-w resol"
83 #define G3D_REGION_NSRES "n-s resol"
84 #define G3D_REGION_TBRES "t-b resol"
int g3d_do_rle_compression
int g3d_tile_dimension[3]
int g3d_do_lzw_compression
void G3d_fatalError_noargs(const char *)
void(* g3d_error_fun)(const char *)
void G3d_fatalError(const char *,...)
This function prints the error message msg, and terminates the program with an error status...