|
GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <unistd.h>#include <rpc/types.h>#include <rpc/xdr.h>#include "G3d_intern.h"
Go to the source code of this file.
Functions | |
| void * | G3d_allocTilesType (G3D_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. More... | |
| void * | G3d_allocTiles (G3D_Map *map, int nofTiles) |
| Is equivalent to G3d_allocTilesType (map, nofTiles, G3d_fileTypeMap (map)). More... | |
| void | G3d_freeTiles (void *tiles) |
Is equivalent to G3d_free (tiles); More... | |
| void* G3d_allocTiles | ( | G3D_Map * | map, |
| int | nofTiles | ||
| ) |
Is equivalent to G3d_allocTilesType (map, nofTiles, G3d_fileTypeMap (map)).
| map | |
| nofTiles |
Definition at line 52 of file tilealloc.c.
References G3d_allocTilesType(), G3d_error(), and NULL.
Referenced by G3d_changePrecision(), and G3d_changeType().
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 26 of file tilealloc.c.
References G3d_error(), G3d_length(), G3d_malloc(), and NULL.
Referenced by G3d_allocTiles(), and G3d_getBlockNocache().
| void G3d_freeTiles | ( | void * | tiles | ) |
Is equivalent to G3d_free (tiles);
| tiles |
Definition at line 77 of file tilealloc.c.
References G3d_free().
Referenced by G3d_changePrecision(), G3d_changeType(), and G3d_getBlockNocache().