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

Go to the source code of this file.

Functions

void G3d_writeAscii (void *map, const char *fname)
 Writes the cell-values of map in ascii format to file fname. The values are organized by horizontal slices. More...
 

Function Documentation

void G3d_writeAscii ( void *  map,
const char *  fname 
)

Writes the cell-values of map in ascii format to file fname. The values are organized by horizontal slices.

Parameters
map
fname
Returns
void

Definition at line 18 of file writeascii.c.

References dialogs::cols, fclose(), G3d_fatalError(), G3d_getCoordsMap(), G3d_getValueRegion(), G3d_tileTypeMap(), NULL, and y.