96 double top,
void *value,
int type)
103 if ((row < 0) || (row >= map->
window.
rows) || (col < 0) ||
111 map->
resampleFun(map, col, row, depth, value, type);
132 double top,
void *value,
int type)
139 if ((row < 0) || (row >= map->
region.
rows) || (col < 0) ||
175 if (
x < 0 || y < 0 || z < 0 || x >= map->
region.
cols ||
186 "Rast3d_get_float_region: error in Rast3d_get_tile_ptr."
187 "Region coordinates x %i y %i z %i tile index %i offset %i",
188 x, y, z, tileIndex, offs);
218 if (
x < 0 || y < 0 || z < 0 || x >= map->
region.
cols ||
229 "Rast3d_get_double_region: error in Rast3d_get_tile_ptr."
230 "Region coordinates x %i y %i z %i tile index %i offset %i",
231 x, y, z, tileIndex, offs);
258 void *value,
int type)
void Rast3d_location2coord(RASTER3D_Region *, double, double, double, int *, int *, int *)
Converts region-coordinates (north, east, top) into cell-coordinates (x, y, z).
void Rast3d_set_null_value(void *, int, int)
Fills the vector pointed to by c with nofElts NULL-values of type.
void * Rast3d_get_tile_ptr(RASTER3D_Map *, int)
This function returns a pointer to a tile which contains the data for the tile with index tileIndex....
void Rast3d_fatal_error(const char *,...) __attribute__((format(printf
void Rast3d_coord2tile_index(RASTER3D_Map *, int, int, int, int *, int *)
Converts cell-coordinates (x, y, z) into tileIndex and the offset of the cell within the tile.
void Rast3d_get_region_value(RASTER3D_Map *map, double north, double east, double top, void *value, int type)
Returns in value the value of the map which corresponds to region coordinates (north,...
float Rast3d_get_float_region(RASTER3D_Map *map, int x, int y, int z)
Is equivalent to Rast3d_get_value_region (map, x, y, z, &value, FCELL_TYPE); return value.
float Rast3d_get_float(RASTER3D_Map *map, int x, int y, int z)
Is equivalent to Rast3d_get_value (map, x, y, z, &value, FCELL_TYPE); return value.
double Rast3d_get_double_region(RASTER3D_Map *map, int x, int y, int z)
Is equivalent to Rast3d_get_value_region (map, x, y, z, &value, DCELL_TYPE); return value.
void Rast3d_get_window_value(RASTER3D_Map *map, double north, double east, double top, void *value, int type)
Returns in value the value of the map which corresponds to window coordinates (north,...
double Rast3d_get_double(RASTER3D_Map *map, int x, int y, int z)
Is equivalent to Rast3d_get_value (map, x, y, z, &value, DCELL_TYPE); return value.
void Rast3d_get_value_region(RASTER3D_Map *map, int x, int y, int z, void *value, int type)
Returns in *value the cell-value of the cell with region-coordinate (x, y, z). The value returned is ...
void Rast3d_get_value(RASTER3D_Map *map, int x, int y, int z, void *value, int type)
Returns in *value the resampled cell-value of the cell with window-coordinate (x, y,...
resample_fn * resampleFun