GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
tilenull.c
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <sys/types.h>
4 #include <unistd.h>
5 #include "G3d_intern.h"
6 
7 /*---------------------------------------------------------------------------*/
8 
9 
23 void G3d_setNullTileType(G3D_Map * map, void *tile, int type)
24 {
25  G3d_setNullValue(tile, map->tileSize, type);
26 }
27 
28 /*---------------------------------------------------------------------------*/
29 
30 
41 void G3d_setNullTile(G3D_Map * map, void *tile)
42 {
43  G3d_setNullTileType(map, tile, map->typeIntern);
44 }
void G3d_setNullValue(void *c, int nofElts, int type)
Fills the vector pointed to by c with nofElts NULL-values of type.
Definition: g3dnull.c:32
void G3d_setNullTile(G3D_Map *map, void *tile)
Is equivalent to G3d_setNullTileType (map, tile, G3d_fileTypeMap (map)).
Definition: tilenull.c:41
void G3d_setNullTileType(G3D_Map *map, void *tile, int type)
Assumes that tile is a tile with the same dimensions as the tiles of map. Fills tile with NULL-values...
Definition: tilenull.c:23