GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <grass/Vect.h>
#include <grass/bitmap.h>
#include <grass/dataquad.h>
#include <grass/qtree.h>
#include <grass/dbmi.h>
Go to the source code of this file.
Data Structures | |
struct | fcell_triple |
struct | interp_params |
Functions | |
double | IL_dist_square (double *, double *, int) |
double | IL_crst (double, double) |
int | IL_crstg (double, double, double *, double *) |
void | IL_init_params_2d (struct interp_params *, FILE *, int, int, double, int, int, char *, int, int, DCELL *, DCELL *, DCELL *, DCELL *, DCELL *, DCELL *, double, int, int, int, int, double, char *, char *, char *, char *, char *, char *, double, double, double, int, double, double, FILE *, FILE *, FILE *, FILE *, FILE *, FILE *, FILE *, struct TimeStamp *, int, char *) |
void | IL_init_func_2d (struct interp_params *, int(*)(), int(*)(), int(*)(), int(*)(), double(*)(), int(*)(), int(*)()) |
int | IL_input_data_2d (struct interp_params *, struct tree_info *, double *, double *, double *, double *, double *, double *, int *) |
struct BM * | IL_create_bitmask (struct interp_params *) |
int | translate_quad (struct multtree *, double, double, double, int) |
int | IL_grid_calc_2d (struct interp_params *, struct quaddata *, struct BM *, double, double, double *, double *, double *, double *, double *, double *, double *, double *, double *, double *, int, double) |
int | IL_matrix_create (struct interp_params *, struct triple *, int, double **, int *) |
int | min1 (int, int) |
int | max1 (int, int) |
double | amax1 (double, double) |
double | amin1 (double, double) |
int | IL_interp_segments_new_2d (struct interp_params *, struct tree_info *, struct multtree *, struct BM *, double, double, double *, double *, double *, double *, double *, double *, double *, double *, double *, int, int, double) |
int | IL_output_2d (struct interp_params *, struct Cell_head *, double, double, double, double, double, double, double, double, double, double, double, char *, double, int, int, int) |
int | IL_check_at_points_2d (struct interp_params *, struct quaddata *, double *, double *, double, double, struct triple) |
int | IL_resample_output_2d (struct interp_params *, double, double, double, double, double, double, double, double, double, double, double, char *, double *, struct Cell_head *, struct Cell_head *, char *, int) |
int | IL_resample_interp_segments_2d (struct interp_params *, struct BM *, double, double, double *, double *, double *, double *, double *, double *, double *, double *, double *, int, double *, int, int, int, int, int, double, double, double, double, int) |
int | IL_secpar_loop_2d (struct interp_params *, int, int, int, struct BM *, double *, double *, double *, double *, double *, double *, int, int) |
int | IL_interp_segments_2d (struct interp_params *, struct tree_info *, struct multtree *, struct BM *, double, double, double *, double *, double *, double *, double *, double *, double *, double *, double *, int, int, double) |
int | IL_vector_input_data_2d (struct interp_params *, struct Map_info *, int, char *, char *, struct tree_info *, double *, double *, double *, double *, double *, double *, int *, double *) |
int | process_point (double, double, double, double, struct tree_info *, double, double *, double *, double *, double *, double *, double *, int *, int *, int *) |
int | IL_write_temp_2d (struct interp_params *, int, int, int) |
Variables | |
struct line_pnts * | Pnts |
struct line_cats * | Cats2 |
dbDriver * | driver2 |
dbString | sql2 |
struct Map_info | Map2 |
struct field_info * | ff |
int | count |
double amax1 | ( | double | , |
double | |||
) |
Definition at line 54 of file minmax.c.
Referenced by IL_grid_calc_2d(), IL_matrix_create(), IL_output_2d(), IL_resample_output_2d(), IL_secpar_loop_2d(), and process_point().
double amin1 | ( | double | , |
double | |||
) |
Definition at line 67 of file minmax.c.
Referenced by IL_grid_calc_2d(), IL_output_2d(), IL_resample_output_2d(), IL_secpar_loop_2d(), and process_point().
int IL_check_at_points_2d | ( | struct interp_params * | , |
struct quaddata * | , | ||
double * | , | ||
double * | , | ||
double | , | ||
double | , | ||
struct triple | |||
) |
Definition at line 41 of file point2d.c.
References buf, cat, Cats2, count, interp_params::cv, db_append_string(), db_close_database(), db_execute_immediate(), db_get_string(), db_shutdown_driver(), db_zero_string(), driver2, err, interp_params::fddevi, ff, interp_params::fi, G_debug(), G_fatal_error(), dialogs::h, interp_params::interp, Map2, quaddata::n_points, NULL, Pnts, quaddata::points, r, sprintf(), sql2, Vect_append_point(), Vect_cat_set(), Vect_reset_cats(), Vect_reset_line(), Vect_write_line(), triple::x, quaddata::x_orig, interp_params::x_orig, quaddata::xmax, triple::y, quaddata::y_orig, interp_params::y_orig, quaddata::ymax, and triple::z.
struct BM* IL_create_bitmask | ( | struct interp_params * | params | ) |
Creates a bitmap mask from given raster map
Definition at line 27 of file input2d.c.
References BM_create(), BM_set(), G_allocate_cell_buf(), G_fatal_error(), G_find_cell2(), G_get_map_row(), G_maskfd(), G_message(), G_open_cell_old(), interp_params::maskmap, interp_params::nsizc, interp_params::nsizr, and NULL.
double IL_crst | ( | double | , |
double | |||
) |
Definition at line 29 of file func2d.c.
References b, and wxnviz::log.
int IL_crstg | ( | double | , |
double | , | ||
double * | , | ||
double * | |||
) |
double IL_dist_square | ( | double * | , |
double * | , | ||
int | |||
) |
Definition at line 19 of file rst/interp_float/distance.c.
References dialogs::s.
int IL_grid_calc_2d | ( | struct interp_params * | , |
struct quaddata * | , | ||
struct BM * | , | ||
double | , | ||
double | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
int | , | ||
double | |||
) |
Definition at line 39 of file interp2d.c.
References interp_params::adx, interp_params::adxx, interp_params::adxy, interp_params::ady, interp_params::adyy, amax1(), amin1(), interp_params::az, BM_get(), menudata::data, interp_params::deriv, interp_params::fi, G_set_d_null_value(), G_warning(), dialogs::h, int, interp_params::interp, interp_params::interpder, interp_params::KMAX2, l, quaddata::n_cols, quaddata::n_points, quaddata::n_rows, NULL, quaddata::points, r, interp_params::scalex, interp_params::secpar, interp_params::theta, dialogs::w, interp_params::wr_temp, triple::x, quaddata::x_orig, triple::y, quaddata::y_orig, and ymax.
void IL_init_func_2d | ( | struct interp_params * | , |
int(*)() | , | ||
int(*)() | , | ||
int(*)() | , | ||
int(*)() | , | ||
double(*)() | , | ||
int(*)() | , | ||
int(*)() | |||
) |
void IL_init_params_2d | ( | struct interp_params * | , |
FILE * | , | ||
int | , | ||
int | , | ||
double | , | ||
int | , | ||
int | , | ||
char * | , | ||
int | , | ||
int | , | ||
DCELL * | , | ||
DCELL * | , | ||
DCELL * | , | ||
DCELL * | , | ||
DCELL * | , | ||
DCELL * | , | ||
double | , | ||
int | , | ||
int | , | ||
int | , | ||
int | , | ||
double | , | ||
char * | , | ||
char * | , | ||
char * | , | ||
char * | , | ||
char * | , | ||
char * | , | ||
double | , | ||
double | , | ||
double | , | ||
int | , | ||
double | , | ||
double | , | ||
FILE * | , | ||
FILE * | , | ||
FILE * | , | ||
FILE * | , | ||
FILE * | , | ||
FILE * | , | ||
FILE * | , | ||
struct TimeStamp * | , | ||
int | , | ||
char * | |||
) |
Definition at line 19 of file init2d.c.
References interp_params::adx, interp_params::adxx, interp_params::adxy, interp_params::ady, interp_params::adyy, interp_params::aspect, interp_params::az, dialogs::cols, interp_params::cv, interp_params::deriv, interp_params::dmin, interp_params::elatt, interp_params::elev, interp_params::fddevi, interp_params::fdinp, interp_params::fi, interp_params::kmax, interp_params::KMAX2, interp_params::kmin, interp_params::maskmap, interp_params::mcurv, interp_params::nsizc, interp_params::nsizr, interp_params::pcurv, interp_params::rsm, interp_params::scalex, interp_params::scik1, interp_params::scik2, interp_params::scik3, interp_params::slope, interp_params::smatt, interp_params::tcurv, interp_params::theta, interp_params::Tmp_fd_dx, interp_params::Tmp_fd_dy, interp_params::Tmp_fd_xx, interp_params::Tmp_fd_xy, interp_params::Tmp_fd_yy, interp_params::Tmp_fd_z, interp_params::ts, interp_params::wheresql, interp_params::x_orig, interp_params::y_orig, and interp_params::zmult.
int IL_input_data_2d | ( | struct interp_params * | , |
struct tree_info * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
int * | |||
) |
int IL_interp_segments_2d | ( | struct interp_params * | , |
struct tree_info * | , | ||
struct multtree * | , | ||
struct BM * | , | ||
double | , | ||
double | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
int | , | ||
int | , | ||
double | |||
) |
Definition at line 16 of file segmen2d.c.
References b, interp_params::check_points, interp_params::cv, multtree::data, menudata::data, G_alloc_ivector(), G_alloc_matrix(), G_alloc_vector(), G_debug(), G_free(), G_lubksb(), G_percent(), G_warning(), interp_params::grid_calc, IL_interp_segments_2d(), interp_params::KMAX2, interp_params::kmin, multtree::leafs, MT_region_data(), quaddata::n_cols, quaddata::n_points, quaddata::n_rows, interp_params::nsizc, interp_params::nsizr, NULL, point, quaddata::points, quad_data_new(), tree_info::root, interp_params::Tmp_fd_dx, interp_params::Tmp_fd_dy, interp_params::Tmp_fd_xx, interp_params::Tmp_fd_xy, interp_params::Tmp_fd_yy, interp_params::Tmp_fd_z, triple::x, quaddata::x_orig, interp_params::x_orig, quaddata::xmax, xmax, triple::y, quaddata::y_orig, interp_params::y_orig, quaddata::ymax, ymax, and triple::z.
Referenced by IL_interp_segments_2d().
int IL_interp_segments_new_2d | ( | struct interp_params * | , |
struct tree_info * | , | ||
struct multtree * | , | ||
struct BM * | , | ||
double | , | ||
double | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
int | , | ||
int | , | ||
double | |||
) |
int IL_matrix_create | ( | struct interp_params * | , |
struct triple * | , | ||
int | , | ||
double ** | , | ||
int * | |||
) |
Definition at line 30 of file matrix.c.
References amax1(), interp_params::fi, G_alloc_vector(), G_ludcmp(), interp_params::interp, interp_params::KMAX2, l, NULL, r, interp_params::rsm, interp_params::scalex, triple::sm, interp_params::theta, triple::x, triple::y, and y.
int IL_output_2d | ( | struct interp_params * | , |
struct Cell_head * | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
char * | , | ||
double | , | ||
int | , | ||
int | , | ||
int | |||
) |
Definition at line 29 of file output2d.c.
References amax1(), amin1(), interp_params::aspect, interp_params::deriv, interp_params::dmin, interp_params::elev, interp_params::fi, G_add_color_rule(), G_add_f_raster_color_rule(), G_allocate_f_raster_buf(), G_close_cell(), G_command_history(), G_find_file(), G_init_colors(), G_open_fp_cell_new(), G_put_f_raster_row(), G_quantize_fp_map_range(), G_set_window(), G_short_history(), G_warning(), G_window_cols(), G_window_rows(), G_write_colors(), G_write_history(), G_write_raster_timestamp(), interp_params::kmax, interp_params::kmin, interp_params::mcurv, MULT, interp_params::nsizc, interp_params::nsizr, NULL, interp_params::pcurv, interp_params::rsm, interp_params::scalex, interp_params::slope, interp_params::smatt, sprintf(), interp_params::tcurv, interp_params::theta, interp_params::Tmp_fd_dx, interp_params::Tmp_fd_dy, interp_params::Tmp_fd_xx, interp_params::Tmp_fd_xy, interp_params::Tmp_fd_yy, interp_params::Tmp_fd_z, interp_params::ts, dialogs::type, and interp_params::zmult.
int IL_resample_interp_segments_2d | ( | struct interp_params * | , |
struct BM * | , | ||
double | , | ||
double | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
int | , | ||
double * | , | ||
int | , | ||
int | , | ||
int | , | ||
int | , | ||
int | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
int | |||
) |
Definition at line 33 of file ressegm2d.c.
References b, interp_params::check_points, menudata::data, interp_params::fi, first, G_alloc_ivector(), G_alloc_matrix(), G_alloc_vector(), G_free(), G_is_f_null_value(), G_lubksb(), G_percent(), interp_params::grid_calc, int, interp_params::kmax, interp_params::KMAX2, interp_params::kmin, l, interp_params::matrix_create, min1(), quaddata::n_cols, quaddata::n_points, quaddata::n_rows, interp_params::nsizc, interp_params::nsizr, NULL, num, quaddata::points, quad_data_new(), r, triple::sm, fcell_triple::smooth, fcell_triple::x, triple::x, interp_params::x_orig, xmax, xmin, fcell_triple::y, triple::y, interp_params::y_orig, ymax, ymin, and triple::z.
int IL_resample_output_2d | ( | struct interp_params * | , |
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
char * | , | ||
double * | , | ||
struct Cell_head * | , | ||
struct Cell_head * | , | ||
char * | , | ||
int | |||
) |
Definition at line 27 of file resout2d.c.
References amax1(), amin1(), interp_params::aspect, interp_params::deriv, interp_params::elev, interp_params::fi, G_add_color_rule(), G_add_d_raster_color_rule(), G_add_f_raster_color_rule(), G_add_modular_d_raster_color_rule(), G_allocate_f_raster_buf(), G_close_cell(), G_find_file(), G_init_colors(), G_mapset(), G_open_fp_cell_new(), G_put_f_raster_row(), G_quantize_fp_map_range(), G_read_colors(), G_set_window(), G_short_history(), G_write_colors(), G_write_history(), interp_params::kmax, interp_params::kmin, interp_params::mcurv, MULT, interp_params::nsizc, interp_params::nsizr, NULL, interp_params::pcurv, interp_params::slope, sprintf(), interp_params::tcurv, interp_params::Tmp_fd_dx, interp_params::Tmp_fd_dy, interp_params::Tmp_fd_xx, interp_params::Tmp_fd_xy, interp_params::Tmp_fd_yy, interp_params::Tmp_fd_z, dialogs::type, and interp_params::zmult.
int IL_secpar_loop_2d | ( | struct interp_params * | , |
int | , | ||
int | , | ||
int | , | ||
struct BM * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
int | , | ||
int | |||
) |
Definition at line 22 of file secpar2d.c.
References interp_params::adx, interp_params::adxx, interp_params::adxy, interp_params::ady, interp_params::adyy, amax1(), amin1(), BM_get(), and NULL.
int IL_vector_input_data_2d | ( | struct interp_params * | , |
struct Map_info * | , | ||
int | , | ||
char * | , | ||
char * | , | ||
struct tree_info * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
int * | , | ||
double * | |||
) |
Definition at line 27 of file vinput2d.c.
References cat, multtree::data, menudata::data, db_CatValArray_free(), db_CatValArray_get_value_double(), db_CatValArray_get_value_int(), db_CatValArray_init(), db_close_database_shutdown_driver(), db_column_Ctype(), db_init_handle(), db_init_string(), db_open_database(), db_select_CatValArray(), db_set_handle(), db_start_driver(), dmax, G_debug(), G_fatal_error(), G_important_message(), G_message(), G_percent(), G_verbose_message(), G_warning(), int, interp_params::kmax, interp_params::KMAX2, interp_params::kmin, quaddata::n_cols, quaddata::n_rows, NULL, process_point(), tree_info::root, translate_quad(), Vect_cat_get(), Vect_get_field(), Vect_get_full_name(), Vect_get_node_coor(), Vect_get_node_line(), Vect_get_num_nodes(), Vect_is_3d(), Vect_level(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_read_line(), Vect_read_next_line(), interp_params::wheresql, quaddata::x_orig, quaddata::xmax, xmax, quaddata::y_orig, quaddata::ymax, ymax, and interp_params::zmult.
int IL_write_temp_2d | ( | struct interp_params * | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 21 of file write2d.c.
References interp_params::adx, interp_params::adxx, interp_params::adxy, interp_params::ady, interp_params::adyy, interp_params::az, interp_params::deriv, interp_params::nsizc, NULL, interp_params::scik1, interp_params::scik2, interp_params::scik3, interp_params::Tmp_fd_dx, interp_params::Tmp_fd_dy, interp_params::Tmp_fd_xx, interp_params::Tmp_fd_xy, interp_params::Tmp_fd_yy, and interp_params::Tmp_fd_z.
Definition at line 18 of file minmax.c.
Referenced by IL_resample_interp_segments_2d().
int process_point | ( | double | , |
double | , | ||
double | , | ||
double | , | ||
struct tree_info * | , | ||
double | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
double * | , | ||
int * | , | ||
int * | , | ||
int * | |||
) |
Definition at line 364 of file vinput2d.c.
References amax1(), amin1(), multtree::data, menudata::data, free(), G_warning(), MT_insert(), point, quad_point_new(), tree_info::root, quaddata::x_orig, quaddata::xmax, y, quaddata::y_orig, and quaddata::ymax.
Referenced by IL_vector_input_data_2d().
Definition at line 77 of file input2d.c.
References multtree::data, multtree::leafs, quaddata::n_points, NULL, quaddata::points, translate_quad(), quaddata::x_orig, xmax, y, quaddata::y_orig, and ymax.
Referenced by IL_vector_input_data_2d(), and translate_quad().
struct line_cats* Cats2 |
Referenced by IL_check_at_points_2d(), and Vedit_merge_lines().
int count |
Referenced by basic_stats(), BM_create_sparse(), c_ave(), c_count(), c_divr(), c_intr(), c_kurt(), c_mode(), c_skew(), c_sum(), c_var(), class_discont(), class_frequencies(), compute_transformation_coef(), D_check_map_window(), D_get_cell_name(), D_get_cur_wind(), D_get_dig_name(), D_get_erase_color(), D_get_screen_window(), D_timestamp(), db__copy_table(), db__recv_double_array(), db__recv_float_array(), db__recv_index_array(), db__recv_int_array(), db__recv_short_array(), db__recv_string_array(), db__send_index_array(), db__send_string_array(), db_alloc_dirent_array(), db_alloc_handle_array(), db_alloc_index_array(), db_alloc_string_array(), db_d_list_databases(), db_d_list_indexes(), db_d_list_tables(), db_dirent(), db_drop_token(), db_find_token(), db_free_dirent_array(), db_free_handle_array(), db_free_index_array(), db_list_databases(), db_new_token(), db_select_int(), db_select_value(), db_table_exists(), do_polygon(), free_font_list(), G__convert_01_flags(), G__convert_flags_01(), G__create_alt_env(), G__env_name(), G__read_Cell_head(), G__set_flags_from_01_random(), G__switch_env(), G_add_histogram(), G_asprintf(), G_cell_stats_histo_eq(), G_colors_count(), G_datum_description(), G_datum_ellipsoid(), G_datum_name(), G_ellipsoid_description(), G_ellipsoid_name(), G_extend_histogram(), G_get_datum_by_name(), G_get_ellipsoid_by_name(), G_get_spheroid_by_name(), G_histogram_eq(), G_histogram_eq_colors(), G_list(), G_list_element(), G_make_histogram_cs(), G_make_histogram_eq_colors(), G_make_histogram_log_colors(), G_make_random_colors(), G_math_A_to_Asp(), G_math_f_asum_norm(), G_read_histogram(), G_read_range(), G_row_repeat_nomask(), G_set_histogram(), G_snprintf(), G_str_replace(), G_str_to_sql(), G_vasprintf(), G_write_histogram(), G_write_histogram_cs(), GPJ_get_datum_transform_by_name(), GPJ_get_default_datum_params_by_name(), I_SigSetNClasses(), ident_win(), IL_check_at_points_2d(), N_assemble_les_2d_param(), N_assemble_les_3d_param(), N_calc_solute_transport_transmission_2d(), N_convert_array_2d_null_to_zero(), N_convert_array_3d_null_to_zero(), N_les_integrate_dirichlet_2d(), N_les_integrate_dirichlet_3d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), NetA_betweenness_closeness(), NetA_init_distinct(), pj_do_transform(), R_pad_freelist(), read_datum_table(), read_ellipsoid_table(), rtree_read_node(), Vect_build_ogr(), Vect_cidx_dump(), Vect_cidx_get_type_count(), w_ave(), w_count(), w_kurt(), w_mode(), w_skew(), w_sum(), and w_var().
dbDriver* driver2 |
Referenced by IL_check_at_points_2d().
struct field_info* ff |
Referenced by IL_check_at_points_2d().
struct Map_info Map2 |
Referenced by IL_check_at_points_2d().
struct line_pnts* Pnts |
Referenced by IL_check_at_points_2d().
dbString sql2 |
Referenced by IL_check_at_points_2d().