GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71942
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends 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 "raster3d_intern.h"
6 
7 /*---------------------------------------------------------------------------*/
8 
9 
10 /*!
11  * \brief
12  *
13  * Assumes that <em>tile</em> is a tile with the same dimensions as the
14  * tiles of <em>map</em>. Fills <em>tile</em> with NULL-values of
15  * <em>type</em>.
16  *
17  * \param map
18  * \param tile
19  * \param type
20  * \return void
21  */
22 
23 void Rast3d_set_null_tile_type(RASTER3D_Map * map, void *tile, int type)
24 {
25  Rast3d_set_null_value(tile, map->tileSize, type);
26 }
27 
28 /*---------------------------------------------------------------------------*/
29 
30 
31 /*!
32  * \brief
33  *
34  * Is equivalent to Rast3d_set_null_tile_type (map, tile, Rast3d_file_type_map (map)).
35  *
36  * \param map
37  * \param tile
38  * \return void
39  */
40 
41 void Rast3d_set_null_tile(RASTER3D_Map * map, void *tile)
42 {
43  Rast3d_set_null_tile_type(map, tile, map->typeIntern);
44 }
void Rast3d_set_null_tile(RASTER3D_Map *map, void *tile)
Is equivalent to Rast3d_set_null_tile_type (map, tile, Rast3d_file_type_map (map)).
Definition: tilenull.c:41
int typeIntern
Definition: raster3d.h:149
void Rast3d_set_null_tile_type(RASTER3D_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
void Rast3d_set_null_value(void *c, int nofElts, int type)
Fills the vector pointed to by c with nofElts NULL-values of type.
Definition: null.c:35
int tileSize
Definition: raster3d.h:179