GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72651
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
input2d.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/bitmap.h>
#include <grass/linkm.h>
#include <grass/interpf.h>
#include <grass/glocale.h>
Include dependency graph for input2d.c:

Go to the source code of this file.


struct BMIL_create_bitmask (struct interp_params *params)
int translate_quad (struct multtree *tree, double numberx, double numbery, double numberz, int n_leafs)

Detailed Description

H. Mitasova, I. Kosinovsky, D. Gerdes Fall 1993 (original authors)
modified by McCauley in August 1995
modified by Mitasova in August 1995
modified by Brown in June 1999 - added elatt & smatt

Definition in file input2d.c.

Function Documentation

struct BM* IL_create_bitmask ( struct interp_params params)

Creates a bitmap mask from given raster map

Creates a bitmap mask from maskmap raster file and/or current MASK if present and returns a pointer to the bitmask. If no mask is in force returns NULL.

Definition at line 40 of file input2d.c.

References _, BM_create(), BM_set(), G_fatal_error(), G_find_raster2(), G_message(), interp_params::maskmap, interp_params::nsizc, interp_params::nsizr, NULL, Rast_allocate_c_buf(), Rast_close(), Rast_get_c_row(), Rast_is_c_null_value(), Rast_maskfd(), and Rast_open_old().

int translate_quad ( struct multtree tree,
double  numberx,
double  numbery,
double  numberz,
int  n_leafs