GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
changetype.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/G3d.h>
Include dependency graph for changetype.c:

Go to the source code of this file.

Functions

void G3d_changeType (void *map, const char *nameOut)
 Makes a copy of map with name nameOut in which the cells are of type FCELL_TYPE if they are DCELL_TYPE in map, and in DCELL_TYPE otherwise. The source code can be found in changetype.c. More...
 

Function Documentation

void G3d_changeType ( void *  map,
const char *  nameOut 
)

Makes a copy of map with name nameOut in which the cells are of type FCELL_TYPE if they are DCELL_TYPE in map, and in DCELL_TYPE otherwise. The source code can be found in changetype.c.

Parameters
map
nameOut
Returns
void

Definition at line 24 of file changetype.c.

References menudata::data, G3d_allocTiles(), G3d_closeCell(), G3d_copyValues(), G3d_fatalError(), G3d_fileTypeMap(), G3d_freeTiles(), G3d_getFileType(), G3d_getNofTilesMap(), G3d_getRegionStructMap(), G3d_getTileDimension(), G3d_getTileDimensionsMap(), G3d_openCellNew(), G3d_readTile(), G3d_setFileType(), G3d_setTileDimension(), G3d_tile2tileIndex(), G3d_tileTypeMap(), G3d_writeTile(), NULL, and y.