GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#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) |
for (i=0;i< data->n_points;i++) | |
return (n) | |
Variables | |
int | |
int | n = 0 |
int | l = 0 |
double | xmin = data_inter->x_orig |
double | xmax = data_inter->xmax |
double | ymin = data_inter->y_orig |
double | ymax = data_inter->ymax |
struct triple * | point |
for | ( | i | = 0; i < data->n_points; i++ | ) |
Definition at line 300 of file dataquad.c.
References quaddata::n_points, quaddata::points, triple::sm, triple::x, triple::y, and triple::z.
Definition at line 117 of file dataquad.c.
References n, 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, int, 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, malloc(), quaddata::n_cols, quaddata::n_points, quaddata::n_rows, NULL, quaddata::points, triple::sm, triple::x, quaddata::x_orig, quaddata::xmax, xmax, triple::y, quaddata::y_orig, quaddata::ymax, 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 int, malloc(), 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.
Definition at line 183 of file dataquad.c.
References quaddata::n_points, NULL, and quaddata::points.
Definition at line 152 of file dataquad.c.
References quaddata::x_orig, quaddata::xmax, xmax, xmin, quaddata::y_orig, quaddata::ymax, ymax, and ymin.
struct triple* quad_point_new | ( | double | x, |
double | y, | ||
double | z, | ||
double | sm | ||
) |
Definition at line 18 of file dataquad.c.
References malloc(), NULL, point, triple::sm, triple::x, triple::y, y, and triple::z.
Referenced by process_point().
return | ( | n | ) |
int |
Definition at line 289 of file dataquad.c.
int l = 0 |
Definition at line 292 of file dataquad.c.
Referenced by cmmult(), D_erase(), D_erase_window(), D_popup(), D_set_cur_wind(), D_setup(), D_show_window(), G_get_raster_cat(), G_is_reclassed_to(), G_setup_plot(), G_squeeze(), get_text_ext(), get_win_w_mouse(), gs_put_label(), gsd_getimage(), gsd_init_mpeg(), ident_win(), IL_grid_calc_2d(), IL_matrix_create(), IL_resample_interp_segments_2d(), inverse(), LOC_pad_get_item(), LOC_pad_list(), LOC_pad_list_items(), LOC_screen_left(), process_command(), rmmult(), S_read(), soft_text_ext(), stroke_chain(), Vect_break_lines_list(), Vect_line_intersection(), Vect_remove_small_areas(), Vect_str_to_cat_list(), and Vedit_split_lines().
n = 0 |
Definition at line 291 of file dataquad.c.
Referenced by anderson_darling(), anderson_darling_exp(), atou1(), atovm(), avl_probe(), BM_file_read(), c_ave(), c_count(), c_divr(), c_intr(), c_kurt(), c_max(), c_maxx(), c_min(), c_minx(), c_mode(), c_range(), c_skew(), c_sum(), c_thresh(), c_var(), Cairo_scaled_raster(), chi_square(), chi_square_exp(), chouse(), chousv(), class_discont(), clean_dir(), cmattr(), cmcpy(), cminv(), cmmul(), cmmult(), cmprt(), COM_scaled_raster(), compute_transformation_coef(), cramer_von_mises(), cramer_von_mises_exp(), csolv(), cvmul(), cvnrm(), D_polydots_clip(), D_popup(), dagostino_d(), datetime_format(), db_CatValArray_alloc(), db_CatValArray_realloc(), db_free_string_array(), db_get_table_column(), dig__frealloc(), dig_prune(), dig_Rd_P_area(), dig_Rd_P_isle(), dig_Rd_P_line(), dig_Rd_P_node(), dig_Wr_P_area(), dig_Wr_P_isle(), dig_Wr_P_line(), dig_Wr_P_node(), dmax(), dmax_exp(), durbins_exact(), evmax(), extreme(), fmatprt(), G3d__computeCacheSize(), G3d_cacheSizeEncode(), G3d_readDoubles(), G3d_readInts(), G3d_writeDoubles(), G3d_writeInts(), G__ls(), G__mapset_name(), G__oldsite_get(), G__read_row_ptrs(), G__reallocate_mask_buf(), G__reallocate_null_buf(), G__reallocate_temp_buf(), G__reallocate_work_buf(), G__switch_env(), G__switch_search_path(), G__write_data(), G__write_data_compressed(), G_available_mapsets(), G_database_projection_name(), G_database_unit_name(), G_database_units_to_meters_factor(), G_datum_description(), G_datum_ellipsoid(), G_datum_name(), G_ellipsoid_description(), G_ellipsoid_name(), G_find_key_value(), G_fpreclass_perform_dd(), G_fpreclass_perform_df(), G_fpreclass_perform_di(), G_fpreclass_perform_fd(), G_fpreclass_perform_ff(), G_fpreclass_perform_fi(), G_fpreclass_perform_id(), G_fpreclass_perform_if(), G_fpreclass_perform_ii(), G_free_key_value(), G_fwrite_key_value(), G_get_color(), G_get_histogram_cat(), G_get_histogram_count(), G_list_element(), G_ls(), G_lubksb(), G_ludcmp(), G_make_random_colors(), G_math_complex_mult(), G_number_of_tokens(), G_plot_area(), G_plot_polygon(), G_pole_in_polygon(), G_quant_perform_d(), G_quant_perform_f(), G_read_color_rules(), G_read_range(), G_recreate_command(), G_set_key_value(), G_sort_histogram(), G_sort_histogram_by_count(), G_standard_color_name(), G_standard_color_rgb(), G_usage(), G_wait(), G_window_percentage_overlap(), G_write_histogram(), G_write_zeros(), geary_test(), getg(), GP_draw_site(), GS_dv3norm(), gs_get_databounds_planes(), GS_v2dir(), GS_v2norm(), GS_v3dir(), GS_v3norm(), GS_v3normalize(), gsd_backface(), gsd_coarse_surf_map(), gsd_model2real(), gsd_ortho_wall(), gsd_real2model(), gsd_surf_const(), gsd_surf_map_old(), gsd_wall(), gsd_wire_arrows(), gv_line_length(), Gv_load_vect(), gvld_isosurf(), gvld_slice(), hconj(), hevmax(), hmgen(), house(), housev(), I_add_file_to_group_ref(), I_alloc_double2(), I_alloc_double3(), I_alloc_int2(), I_cluster_end_point_set(), I_cluster_nclasses(), I_cluster_point_part(), I_cluster_signatures(), I_free_signatures(), I_get_to_eol(), I_new_signature(), I_read_one_signature(), I_read_signatures(), I_write_signatures(), insert_str(), iso_calc_cube(), kolmogorov_smirnov_exp(), kotz_families(), kuipers_v_exp(), ldumat(), ldvmat(), LOC_pad_get_item(), LOC_pad_list(), LOC_pad_list_items(), main(), matprt(), mattr(), minv(), mmul(), MT_region_data(), NetA_initialise_varray(), Nviz_set_cplane_here(), omnibus_moments(), ortho(), otrma(), otrsm(), pg_create_struct(), PNG_Erase(), printfile(), PS_scaled_raster(), psinv(), qrbdi(), qrbdu1(), qrbdv(), qrecvc(), qreval(), qrevec(), quad_add_data(), rmmult(), royston(), RTreeAddBranch(), RTreeInitNode(), RTreeNewNode(), RTreeNodeCover(), RTreePickBranch(), RTreeSearch(), ruinv(), segment_get(), segment_get_row(), segment_pagein(), segment_put(), segment_put_row(), shapiro_francia(), shapiro_wilk(), shapiro_wilk_exp(), smgen(), solv(), solvps(), solvru(), sort_cell(), sort_cell_w(), sort_intersection_list(), sqpAllocCol(), sqpAllocVal(), sv2u1v(), sv2uv(), sv2val(), svdu1v(), svduv(), svdval(), tavl_destroy(), tavl_probe(), trncm(), trnm(), unitary(), utrncm(), utrnhm(), V_float_accuracy(), Vect_append_point(), Vect_append_points(), Vect_cat_del(), Vect_cat_get(), Vect_cat_set(), Vect_copy(), Vect_copy_pnts_to_xyz(), Vect_copy_tables(), Vect_copy_xyz_to_pnts(), Vect_delete(), Vect_field_cat_del(), Vect_field_cat_get(), Vect_get_proj_name(), Vect_line_delete_point(), Vect_line_insert_point(), Vect_rename(), Vect_set_constraint_region(), Vect_set_varray_from_cat_list(), Vect_set_varray_from_db(), vmul(), vnrm(), w_ave(), w_count(), w_kurt(), w_max(), w_median(), w_min(), w_mode(), w_quant(), w_skew(), w_sum(), w_var(), watson_u2(), watson_u2_exp(), wcoef(), and weisberg_bingham().
Definition at line 294 of file dataquad.c.
Referenced by dig_get_poly_points(), G_bresenham_line(), GS_get_selected_point_on_surface(), IL_interp_segments_2d(), process_point(), quad_point_new(), Vect_snap_line(), and Vect_snap_lines_list().
xmax = data_inter->xmax |
Definition at line 293 of file dataquad.c.
Referenced by gs_get_datacenter(), gsd_display_fringe(), IL_interp_segments_2d(), IL_resample_interp_segments_2d(), IL_vector_input_data_2d(), quad_data_new(), quad_intersect(), translate_quad(), Vect_snap_line(), Vect_snap_lines_list(), and viewcell_tri_interp().
xmin = data_inter->x_orig |
Definition at line 293 of file dataquad.c.
Referenced by gs_get_datacenter(), IL_resample_interp_segments_2d(), quad_intersect(), Vect_snap_line(), and Vect_snap_lines_list().
ymax = data_inter->ymax |
Definition at line 293 of file dataquad.c.
Referenced by G_setup_plot(), gs_get_datacenter(), gsd_coarse_surf_map(), gsd_display_fringe(), gsd_norm_arrows(), gsd_surf_const(), gsd_surf_map(), gsd_surf_map_old(), gsd_wire_arrows(), gsd_wire_surf_const(), gsd_wire_surf_map(), IL_grid_calc_2d(), IL_interp_segments_2d(), IL_resample_interp_segments_2d(), IL_vector_input_data_2d(), quad_data_new(), quad_intersect(), translate_quad(), Vect_snap_line(), Vect_snap_lines_list(), and viewcell_tri_interp().
ymin = data_inter->y_orig |
Definition at line 293 of file dataquad.c.
Referenced by G_setup_plot(), gs_get_datacenter(), IL_resample_interp_segments_2d(), quad_intersect(), Vect_snap_line(), Vect_snap_lines_list(), and viewcell_tri_interp().