|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <unistd.h>#include "raster3d_intern.h"
Go to the source code of this file.
Functions | |
| void * | Rast3d_alloc_tiles_type (RASTER3D_Map *map, int nofTiles, int type) |
| Allocates a vector of nofTiles tiles with the same dimensions as the tiles of map and large enough to store cell-values of type. | |
| void * | Rast3d_alloc_tiles (RASTER3D_Map *map, int nofTiles) |
| Is equivalent to Rast3d_alloc_tiles_type (map, nofTiles, Rast3d_file_type_map (map)). | |
| void | Rast3d_free_tiles (void *tiles) |
Is equivalent to Rast3d_free (tiles); | |
| void * Rast3d_alloc_tiles | ( | RASTER3D_Map * | map, |
| int | nofTiles | ||
| ) |
Is equivalent to Rast3d_alloc_tiles_type (map, nofTiles, Rast3d_file_type_map (map)).
| map | |
| nofTiles |
Definition at line 47 of file tilealloc.c.
References NULL, Rast3d_alloc_tiles_type(), Rast3d_error(), and RASTER3D_Map::typeIntern.
Referenced by Rast3d_change_precision(), and Rast3d_change_type().
| void * Rast3d_alloc_tiles_type | ( | RASTER3D_Map * | map, |
| int | nofTiles, | ||
| int | type | ||
| ) |
Allocates a vector of nofTiles tiles with the same dimensions as the tiles of map and large enough to store cell-values of type.
| map | |
| nofTiles | |
| type |
Definition at line 22 of file tilealloc.c.
References NULL, Rast3d_error(), Rast3d_length(), Rast3d_malloc(), and RASTER3D_Map::tileSize.
Referenced by Rast3d_alloc_tiles(), and Rast3d_get_block_nocache().
Is equivalent to Rast3d_free (tiles);
| tiles |
Definition at line 70 of file tilealloc.c.
References Rast3d_free().
Referenced by Rast3d_change_precision(), Rast3d_change_type(), and Rast3d_get_block_nocache().