29 #include <grass/interpf.h> 42 int i, j, cfmask = -1, irev, MASKfd;
44 CELL *cellmask, *MASK;
67 for (i = 0; i < params->
nsizr; i++) {
68 irev = params->
nsizr - i - 1;
73 for (j = 0; j < params->
nsizc; j++) {
76 BM_set(bitmask, j, irev, 0);
78 BM_set(bitmask, j, irev, 1);
94 double numbery,
double numberz,
int n_leafs)
108 for (ii = 0; ii < n_leafs; ii++)
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
int BM_set(struct BM *, int, int, int)
Sets bitmap value to 'val' at location 'x' 'y'.
void G_message(const char *,...) __attribute__((format(printf
void Rast_get_c_row(int, CELL *, int)
Get raster row (CELL type)
int Rast_maskfd(void)
Test for MASK.
int Rast_open_old(const char *, const char *)
Open an existing integer raster map (cell)
struct BM * BM_create(int, int)
Create bitmap of dimension x/y and return structure token.
const char * G_find_raster2(const char *, const char *)
Find a raster map (look but don't touch)
#define Rast_is_c_null_value(cellVal)
CELL * Rast_allocate_c_buf(void)
Allocate memory for a CELL type raster map.
void Rast_close(int)
Close a raster map.