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/glocale.h>
#include <grass/interpf.h>
#include <grass/gmath.h>
Go to the source code of this file.
Functions | |
int | IL_interp_segments_2d (struct interp_params *params, struct tree_info *info, struct multtree *tree, 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, int totsegm, off_t offset1, double dnorm) |
double | smallest_segment (struct multtree *tree, int n_leafs) |
Definition in file segmen2d.c.
int IL_interp_segments_2d | ( | struct interp_params * | params, |
struct tree_info * | info, | ||
struct multtree * | tree, | ||
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, | ||
int | totsegm, | ||
off_t | offset1, | ||
double | dnorm | ||
) |
Interpolate recursively a tree of segments
Recursively processes each segment in a tree by:
info | info for the quad tree |
tree | current leaf of the quad tree |
bitmask | bitmask |
zmax | min and max input z-values |
zmaxac | min and max interp. z-values |
gmax | min and max inperp. slope val. |
c1max | min and max interp. curv. val. |
c2max | min and max interp. curv. val. |
ertot | total interplating func. error |
totsegm | total number of segments |
offset1 | offset for temp file writing |
Definition at line 47 of file segmen2d.c.
double smallest_segment | ( | struct multtree * | tree, |
int | n_leafs | ||
) |
Definition at line 346 of file segmen2d.c.
References multtree::data, multtree::leafs, NULL, and quaddata::xmax.