GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
#include <stdio.h>
#include <math.h>
#include <unistd.h>
#include <grass/gis.h>
#include <grass/bitmap.h>
#include <grass/interpf.h>
Go to the source code of this file.
Functions | |
int | IL_secpar_loop_2d (struct interp_params *params, int ngstc, int nszc, int k, struct BM *bitmask, double *gmin, double *gmax, double *c1min, double *c1max, double *c2min, double *c2max, int cond1, int cond2) |
Definition in file secpar2d.c.
int IL_secpar_loop_2d | ( | struct interp_params * | params, |
int | ngstc, | ||
int | nszc, | ||
int | k, | ||
struct BM * | bitmask, | ||
double * | gmin, | ||
double * | gmax, | ||
double * | c1min, | ||
double * | c1max, | ||
double * | c2min, | ||
double * | c2max, | ||
int | cond1, | ||
int | cond2 | ||
) |
Compute slope aspect and curvatures
Computes slope, aspect and curvatures (depending on cond1, cond2) for derivative arrays adx,...,adxy between columns ngstc and nszc.
ngstc | starting column |
nszc | ending column |
k | current row |
c2max | min,max interp. values |
cond2 | determine if particular values need to be computed |
Definition at line 34 of file secpar2d.c.
References interp_params::adx, interp_params::adxx, interp_params::adxy, interp_params::ady, interp_params::adyy, amax1(), amin1(), BM_get(), M_R2D, and NULL.