GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#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>
Go to the source code of this file.
Functions | |
struct BM * | IL_create_bitmask (struct interp_params *params) |
int | translate_quad (struct multtree *tree, double numberx, double numbery, double numberz, int n_leafs) |
Definition in file input2d.c.
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 | ||
) |
Definition at line 92 of file input2d.c.
References multtree::data, multtree::leafs, quaddata::n_points, NULL, quaddata::points, translate_quad(), x, quaddata::x_orig, quaddata::xmax, quaddata::y_orig, and quaddata::ymax.
Referenced by translate_quad().