82 if ((tileIndex >= map->
nTiles) || (tileIndex < 0)) {
83 Rast3d_error(
"Rast3d_get_tile_ptr: tileIndex out of range");
90 Rast3d_error(
"Rast3d_get_tile_ptr: error in Rast3d_cache_elt_ptr");
102 Rast3d_error(
"Rast3d_get_tile_ptr: error in Rast3d_read_tile");
127 Rast3d_error(
"Rast3d_tile_load: error in Rast3d_get_tile_ptr");
142 Rast3d_error(
"Rast3d_removeTile: error in Rast3d_cache_remove_elt");
int Rast3d_read_tile(RASTER3D_Map *, int, void *, int)
Reads tile with index tileIndex into the tile buffer. The cells are stored with type type which must ...
void * Rast3d_cache_elt_ptr(RASTER3D_cache *, int)
void Rast3d_error(const char *,...) __attribute__((format(printf
int Rast3d_cache_remove_elt(RASTER3D_cache *, int)
void * Rast3d_get_tile_ptr(RASTER3D_Map *map, int tileIndex)
This function returns a pointer to a tile which contains the data for the tile with index tileIndex...
int Rast3d_tile_load(RASTER3D_Map *map, int tileIndex)
Same functionality as Rast3d_get_tile_ptr() but does not return the pointer.
int Rast3d__remove_tile(RASTER3D_Map *map, int tileIndex)