83 if ((tileIndex >= map->
nTiles) || (tileIndex < 0)) {
84 Rast3d_error(
"Rast3d_get_tile_ptr: tileIndex out of range");
91 Rast3d_error(
"Rast3d_get_tile_ptr: error in Rast3d_cache_elt_ptr");
102 Rast3d_error(
"Rast3d_get_tile_ptr: error in Rast3d_read_tile");
126 Rast3d_error(
"Rast3d_tile_load: error in Rast3d_get_tile_ptr");
141 Rast3d_error(
"Rast3d_removeTile: error in Rast3d_cache_remove_elt");
int Rast3d_cache_remove_elt(RASTER3D_cache *, int)
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_error(const char *,...) __attribute__((format(printf
void * Rast3d_cache_elt_ptr(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)