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

Go to the source code of this file.

Functions

void G3d_compareFiles (const char *f1, const char *mapset1, const char *f2, const char *mapset2)
 Compares the cell-values of file f1 in mapset mapset1 and file f2 in mapset mapset2. The values are compared up to precision. Terminates in error if the files don't match. This function uses the more advanced features of the cache. The source code can be found in filecompare.c. More...
 

Function Documentation

void G3d_compareFiles ( const char *  f1,
const char *  mapset1,
const char *  f2,
const char *  mapset2 
)

Compares the cell-values of file f1 in mapset mapset1 and file f2 in mapset mapset2. The values are compared up to precision. Terminates in error if the files don't match. This function uses the more advanced features of the cache. The source code can be found in filecompare.c.

Parameters
f1
mapset1
f2
mapset2
Returns
void

Definition at line 386 of file filecompare.c.

References dialogs::cols, G3d_autolockOn(), G3d_closeCell(), G3d_coord2tileCoord(), G3d_fatalError(), G3d_getCoordsMap(), G3d_getNofTilesMap(), G3d_getTileDimensionsMap(), G3d_getValueRegion(), G3d_isNullValueNum(), G3d_minUnlocked(), G3d_openCellOld(), G3d_printHeader(), G3d_tilePrecisionMap(), G3d_tileTypeMap(), G3d_tileUseCacheMap(), G3d_unlockAll(), NULL, and y.