GRASS Programmer's Manual
6.4.3(2013)-r
|
#include <stdio.h>
#include <stdlib.h>
#include <grass/dataquad.h>
Go to the source code of this file.
Functions | |
struct triple * | quad_point_new (double x, double y, double z, double sm) |
struct quaddata * | quad_data_new (double x_or, double y_or, double xmax, double ymax, int rows, int cols, int n_points, int kmax) |
int | quad_compare (struct triple *point, struct quaddata *data) |
int | quad_add_data (struct triple *point, struct quaddata *data, double dmin) |
int | quad_intersect (struct quaddata *data_inter, struct quaddata *data) |
int | quad_division_check (struct quaddata *data, int kmax) |
struct quaddata ** | quad_divide_data (struct quaddata *data, int kmax, double dmin) |
int | quad_get_points (struct quaddata *data_inter, struct quaddata *data, int MAX) |
Definition at line 117 of file dataquad.c.
References quaddata::n_points, NULL, quaddata::points, r, triple::sm, triple::x, triple::y, and triple::z.
Referenced by quad_divide_data().
Definition at line 73 of file dataquad.c.
References dialogs::cols, quaddata::n_cols, quaddata::n_rows, NE, NULL, NW, SE, SW, triple::x, quaddata::x_orig, quaddata::xmax, triple::y, quaddata::y_orig, and quaddata::ymax.
Referenced by quad_divide_data().
struct quaddata* quad_data_new | ( | double | x_or, |
double | y_or, | ||
double | xmax, | ||
double | ymax, | ||
int | rows, | ||
int | cols, | ||
int | n_points, | ||
int | kmax | ||
) |
Definition at line 36 of file dataquad.c.
References dialogs::cols, menudata::data, quaddata::n_cols, quaddata::n_points, quaddata::n_rows, NULL, quaddata::points, triple::sm, triple::x, quaddata::x_orig, quaddata::xmax, triple::y, quaddata::y_orig, quaddata::ymax, and triple::z.
Referenced by IL_interp_segments_2d(), IL_resample_interp_segments_2d(), and quad_divide_data().
Definition at line 199 of file dataquad.c.
References quaddata::n_cols, quaddata::n_points, quaddata::n_rows, NE, NULL, NW, quaddata::points, quad_add_data(), quad_compare(), quad_data_new(), SE, SW, quaddata::x_orig, quaddata::xmax, quaddata::y_orig, and quaddata::ymax.
int quad_division_check | ( | struct quaddata * | data, |
int | kmax | ||
) |
Definition at line 183 of file dataquad.c.
References quaddata::n_points, NULL, and quaddata::points.
Definition at line 286 of file dataquad.c.
References quaddata::n_points, quaddata::points, triple::sm, triple::x, quaddata::x_orig, quaddata::xmax, triple::y, quaddata::y_orig, quaddata::ymax, and triple::z.
Definition at line 152 of file dataquad.c.
References quaddata::x_orig, quaddata::xmax, quaddata::y_orig, and quaddata::ymax.
struct triple* quad_point_new | ( | double | x, |
double | y, | ||
double | z, | ||
double | sm | ||
) |
Definition at line 18 of file dataquad.c.
References NULL, triple::sm, triple::x, triple::y, y, and triple::z.
Referenced by process_point().