21 *rows = map->region.rows;
22 *cols = map->region.cols;
23 *depths = map->region.depths;
30 *rows = map->window.rows;
31 *cols = map->window.cols;
32 *depths = map->window.depths;
78 double *west,
double *top,
double *bottom)
80 *north = map->region.north;
81 *south = map->region.south;
82 *east = map->region.east;
83 *west = map->region.west;
84 *top = map->region.top;
85 *bottom = map->region.bottom;
92 double *west,
double *top,
double *bottom)
94 *north = map->window.north;
95 *south = map->window.south;
96 *east = map->window.east;
97 *west = map->window.west;
98 *top = map->window.top;
99 *bottom = map->window.bottom;
163 return map->typeIntern;
197 return map->precision;
214 return map->useCache;
230 double rangeMin, rangeMax;
232 printf(
"File %s open for %sing:\n", map->fileName,
235 printf(
" Fd = %d, Unit %s, Type: %s, ", map->data_fd,
237 (map->type == FCELL_TYPE ?
"float" :
238 (map->type == DCELL_TYPE ?
"double" :
"unknown")));
239 printf(
"Type intern: %s\n",
240 (map->typeIntern == FCELL_TYPE ?
"float" :
241 (map->typeIntern == DCELL_TYPE ?
"double" :
"unknown")));
242 if (map->compression == G3D_NO_COMPRESSION)
243 printf(
" Compression: none\n");
245 printf(
" Compression:%s%s Precision: %s",
246 (map->useLzw ?
" lzw," :
""), (map->useRle ?
" rle," :
""),
247 (map->precision == -1 ?
"all bits used\n" :
"using"));
248 if (map->precision != -1)
249 printf(
" %d bits\n", map->precision);
253 printf(
" Cache: none\n");
255 printf(
" Cache: used%s\n",
261 printf(
" Region: (%f %f) (%f %f) (%f %f)\n",
262 map->region.south, map->region.north, map->region.west,
263 map->region.east, map->region.bottom, map->region.top);
264 printf(
" (%d %d %d)\n", map->region.rows, map->region.cols,
266 printf(
" Tile size (%d %d %d)\n", map->tileX, map->tileY, map->tileZ);
271 printf(
"%f, ", (
double)rangeMin);
275 printf(
"%f)\n", (
double)rangeMax);
int G3d_isNullValueNum(const void *n, int type)
void G3d_range_min_max(G3D_Map *map, double *min, double *max)
Returns in min and max the minimum and maximum values of the range.
void G3d_regionCopy(G3D_Region *regionDest, G3D_Region *regionSrc)
Copies the values of regionSrc into regionDst. (The unfortunate order of parameters was chosen in ord...