|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
#include <grass/config.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <grass/lidar.h>
Go to the source code of this file.
Definition at line 540 of file zones.c.
References DCELL_TYPE, G_incr_void_ptr, G_percent(), Rast_allocate_buf(), Rast_cell_size(), Rast_put_d_row(), Rast_set_d_null_value(), Rast_set_d_value(), Rast_window_cols(), and Rast_window_rows().
| void P_Aux_to_Vector | ( | struct Map_info * | Map, |
| struct Map_info * | Out, | ||
| dbDriver * | driver, | ||
| char * | tab_name | ||
| ) |
Definition at line 565 of file zones.c.
References line_cats::cat, Point::coordX, Point::coordY, Point::coordZ, db_append_string(), DB_C_TYPE_DOUBLE, DB_C_TYPE_INT, db_fetch(), db_get_column_sqltype(), db_get_column_value(), db_get_cursor_table(), db_get_table_column(), db_get_value_double(), db_init_string(), DB_NEXT, DB_OK, db_open_select_cursor(), DB_SEQUENTIAL, db_sqltype_to_Ctype(), db_zero_string(), GV_POINT, Vect_cat_set(), Vect_copy_xyz_to_pnts(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_reset_cats(), and Vect_write_line().
Definition at line 465 of file zones.c.
References _, db_alloc_table(), db_create_table(), db_get_table_column(), DB_OK, db_set_column_name(), db_set_column_sqltype(), db_set_table_description(), db_set_table_name(), DB_SQL_TYPE_INTEGER, DB_SQL_TYPE_REAL, FALSE, G_debug(), G_warning(), and TRUE.
Definition at line 493 of file zones.c.
References _, db_alloc_table(), db_create_table(), db_get_table_column(), DB_OK, db_set_column_name(), db_set_column_sqltype(), db_set_table_description(), db_set_table_name(), DB_SQL_TYPE_DOUBLE_PRECISION, DB_SQL_TYPE_INTEGER, DB_SQL_TYPE_REAL, FALSE, G_debug(), G_warning(), and TRUE.
Definition at line 529 of file zones.c.
References db_append_string(), db_execute_immediate(), and db_init_string().
Definition at line 259 of file zones.c.
References G_get_set_window(), GV_POINT, NULL, Vect_destroy_cats_struct(), Vect_destroy_line_struct(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_point_in_box(), Vect_read_next_line(), Vect_region_box(), Vect_rewind(), line_pnts::x, x, line_pnts::y, and line_pnts::z.
Definition at line 218 of file zones.c.
References P_BILINEAR.
Definition at line 196 of file zones.c.
References Reg_dimens::edge_h, Reg_dimens::edge_v, P_BICUBIC, and P_BILINEAR.
Definition at line 231 of file zones.c.
References CONTOUR, mean(), Vect_point_in_box(), and Vect_region_box().
| struct Point * P_Read_Raster_Region_Map | ( | SEGMENT * | in_seg, |
| struct Cell_head * | Elaboration, | ||
| struct Cell_head * | Original, | ||
| int * | num_points, | ||
| int | dim_vect | ||
| ) |
Definition at line 387 of file zones.c.
References G_calloc, G_realloc, Rast_col_to_easting(), Rast_is_d_null_value, Rast_row_to_northing(), Segment_get(), Vect_point_in_box(), Vect_region_box(), and x.
| struct Point * P_Read_Vector_Region_Map | ( | struct Map_info * | Map, |
| struct Cell_head * | Elaboration, | ||
| int * | num_points, | ||
| int | dim_vect, | ||
| int | layer | ||
| ) |
Definition at line 322 of file zones.c.
References Point::cat, G_calloc, G_realloc, GV_POINT, NULL, Vect_cat_get(), Vect_destroy_cats_struct(), Vect_destroy_line_struct(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_point_in_box(), Vect_read_next_line(), Vect_region_box(), Vect_rewind(), line_pnts::x, x, line_pnts::y, and line_pnts::z.
Definition at line 117 of file zones.c.
References Reg_dimens::edge_h, Reg_dimens::edge_v, Reg_dimens::ew_size, G_get_window(), Reg_dimens::overlap, and Reg_dimens::sn_size.
| int P_set_regions | ( | struct Cell_head * | Elaboration, |
| struct bound_box * | General, | ||
| struct bound_box * | Overlap, | ||
| struct Reg_dimens | dim, | ||
| int | type | ||
| ) |
Definition at line 53 of file zones.c.
References Reg_dimens::edge_h, Reg_dimens::edge_v, Reg_dimens::ew_size, FIRST_COLUMN, FIRST_ROW, G_get_window(), GENERAL_COLUMN, GENERAL_ROW, LAST_COLUMN, LAST_ROW, Reg_dimens::overlap, and Reg_dimens::sn_size.
| void P_zero_dim | ( | struct Reg_dimens * | dim | ) |
Definition at line 9 of file zones.c.
References Reg_dimens::edge_h, Reg_dimens::edge_v, Reg_dimens::ew_size, Reg_dimens::overlap, and Reg_dimens::sn_size.