GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-847944e18e
secpar2d.c File Reference
#include <stdio.h>
#include <math.h>
#include <unistd.h>
#include <grass/gis.h>
#include <grass/bitmap.h>
#include <grass/interpf.h>
Include dependency graph for secpar2d.c:

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)
 

Detailed Description

Author
H. Mitasova, L. Mitas, I. Kosinovsky, D. Gerdes Fall 1994 (original authors)
modified by McCauley in August 1995
modified by Mitasova in August 1995
H. Mitasova (University of Illinois)
L. Mitas (University of Illinois)
I. Kosinovsky, (USA-CERL)
D.Gerdes (USA-CERL)
Author
H. Mitasova, I. Kosinovsky, D. Gerdes Fall 1993 (original authors)
modified by McCauley in August 1995
modified by Mitasova in August 1995
H. Mitasova (University of Illinois)
I. Kosinovsky, (USA-CERL)
D.Gerdes (USA-CERL)

Definition in file secpar2d.c.

Function Documentation

◆ IL_secpar_loop_2d()

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.

Parameters
ngstcstarting column
nszcending column
kcurrent row
c2maxmin,max interp. values
cond2determine 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.