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

Go to the source code of this file.

Functions

int G3d_closeCell (G3D_Map *map)
 Closes g3d-file. If map is new and cache-mode is used for map then every tile which is not flushed before closing is flushed. More...
 

Function Documentation

int G3d_closeCell ( G3D_Map *  map)

Closes g3d-file. If map is new and cache-mode is used for map then every tile which is not flushed before closing is flushed.

Parameters
map
Returns
1 ... if successful, 0 ... otherwise.

Definition at line 144 of file g3dclose.c.

References G3d_disposeCache(), G3d_error(), G3d_free(), G3D_WRITE_DATA, and G3d_writeHeader().

Referenced by close_g3d_file(), G3d_changePrecision(), G3d_changeType(), G3d_compareFiles(), G3d_makeAlignedVolumeFile(), G3d_maskClose(), G3d_retile(), N_read_rast3d_to_array_3d(), and N_write_array_3d_to_rast3d().