22#include <grass/interpf.h>
51 double zmin,
double zmax,
65 static double *
b =
NULL;
68 double ew_res, ns_res;
69 static int first_time = 1;
95 for (i = 0; i < 4; i++) {
133 _(
"Taking too long to find points for interpolation - "
134 "please change the region to area where your points are. "
135 "Continuing calculations..."));
222 for (i = 0; i < data->
n_points; i++) {
226 point[i].
x = data->
points[i].x;
227 point[i].
y = data->
points[i].y;
228 point[i].
z = data->
points[i].z;
269 for (k = 0; k <
m_skip; k++) {
293 for (i = 0; i < data->
n_points; i++)
302 for (i = 0; i < data->
n_points - 1; i++)
344 static int first_time = 1;
354 for (
ii = 0;
ii < n_leafs;
ii++) {
struct quaddata * quad_data_new(double x_or, double y_or, double xmax, double ymax, int rows, int cols, int n_points, int kmax)
void G_percent(long, long, int)
Print percent complete messages.
void G_free(void *)
Free allocated memory.
void G_warning(const char *,...) __attribute__((format(printf
int G_debug(int, const char *,...) __attribute__((format(printf
int * G_alloc_ivector(size_t)
Vector matrix memory allocation.
void G_lubksb(double **a, int n, int *indx, double b[])
LU backward substitution.
double * G_alloc_vector(size_t)
Vector matrix memory allocation.
double ** G_alloc_matrix(int, int)
Matrix memory allocation.
int MT_region_data(struct tree_info *info, struct multtree *tree, struct quaddata *data, int MAX, int n_leafs)
double smallest_segment(struct multtree *tree, int n_leafs)
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)
check_points_fn * check_points
matrix_create_fn * matrix_create