GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
#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 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().
int translate_quad | ( | struct multtree * | tree, |
double | numberx, | ||
double | numbery, | ||
double | numberz, | ||
int | n_leafs | ||
) |
Definition at line 90 of file input2d.c.
References multtree::data, multtree::leafs, quaddata::n_points, NULL, quaddata::points, x, quaddata::x_orig, quaddata::xmax, quaddata::y_orig, and quaddata::ymax.