GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-535c39c9fc
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.

Functions

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

Author
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

◆ IL_create_bitmask()

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 37 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().

◆ translate_quad()

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