GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-602118adcc
|
#include <stdio.h>
#include <math.h>
#include <unistd.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/glocale.h>
#include <grass/bitmap.h>
#include <grass/interpf.h>
Go to the source code of this file.
Macros | |
#define | CEULER .57721566 |
Functions | |
int | IL_grid_calc_2d (struct interp_params *params, struct quaddata *data, struct BM *bitmask, double zmin, double zmax, double *zminac, double *zmaxac, double *gmin, double *gmax, double *c1min, double *c1max, double *c2min, double *c2max, double *ertot UNUSED, double *b, off_t offset1, double dnorm) |
Definition in file interp2d.c.
#define CEULER .57721566 |
Definition at line 48 of file interp2d.c.
int IL_grid_calc_2d | ( | struct interp_params * | params, |
struct quaddata * | data, | ||
struct BM * | bitmask, | ||
double | zmin, | ||
double | zmax, | ||
double * | zminac, | ||
double * | zmaxac, | ||
double * | gmin, | ||
double * | gmax, | ||
double * | c1min, | ||
double * | c1max, | ||
double * | c2min, | ||
double * | c2max, | ||
double *ertot | UNUSED, | ||
double * | b, | ||
off_t | offset1, | ||
double | dnorm | ||
) |
Calculates grid values for a given segment
Calculates grid for the given segment represented by data (contains n_rows, n_cols, ew_res,ns_res, and all points inside + overlap) using solutions of system of linear equations and interpolating functions interp() and interpder(). Also calls secpar() to compute slope, aspect and curvatures if required.
ertot can be also called RMS deviation of the interpolated surface
data | given segment |
bitmask | bitmask |
zmax | min and max input z-values |
zmaxac | min and max interp. z-values |
gmax | min and max interp. slope val. |
c1max | min and max interp. curv. val. |
c2max | min and max interp. curv. val. |
UNUSED | total interpolating func. error |
b | solutions of linear equations |
offset1 | offset for temp file writing |
Definition at line 61 of file interp2d.c.