GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
#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.
Functions | |
void | P_zero_dim (struct Reg_dimens *dim) |
int | P_set_regions (struct Cell_head *Elaboration, struct bound_box *General, struct bound_box *Overlap, struct Reg_dimens dim, int type) |
int | P_set_dim (struct Reg_dimens *dim, double pe, double pn, int *nsplx, int *nsply) |
int | P_get_edge (int interpolator, struct Reg_dimens *dim, double pe, double pn) |
int | P_get_BandWidth (int interpolator, int nsplines) |
double | P_Mean_Calc (struct Cell_head *Elaboration, struct Point *obs, int npoints) |
double | P_estimate_splinestep (struct Map_info *Map, double *dens, double *dist) |
struct Point * | P_Read_Vector_Region_Map (struct Map_info *Map, struct Cell_head *Elaboration, int *num_points, int dim_vect, int layer) |
struct Point * | P_Read_Raster_Region_Map (SEGMENT *in_seg, struct Cell_head *Elaboration, struct Cell_head *Original, int *num_points, int dim_vect) |
int | P_Create_Aux2_Table (dbDriver *driver, char *tab_name) |
int | P_Create_Aux4_Table (dbDriver *driver, char *tab_name) |
int | P_Drop_Aux_Table (dbDriver *driver, char *tab_name) |
void | P_Aux_to_Raster (double **matrix, int fd) |
void | P_Aux_to_Vector (struct Map_info *Map UNUSED, struct Map_info *Out, dbDriver *driver, char *tab_name) |
int P_Create_Aux2_Table | ( | dbDriver * | driver, |
char * | tab_name | ||
) |
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.
int P_Create_Aux4_Table | ( | dbDriver * | driver, |
char * | tab_name | ||
) |
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.
int P_Drop_Aux_Table | ( | dbDriver * | driver, |
char * | tab_name | ||
) |
Definition at line 529 of file zones.c.
References db_append_string(), db_execute_immediate(), and db_init_string().
double P_estimate_splinestep | ( | struct Map_info * | Map, |
double * | dens, | ||
double * | dist | ||
) |
int P_get_BandWidth | ( | int | interpolator, |
int | nsplines | ||
) |
Definition at line 218 of file zones.c.
References P_BILINEAR.
int P_get_edge | ( | int | interpolator, |
struct Reg_dimens * | dim, | ||
double | pe, | ||
double | pn | ||
) |
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, Point::coordZ, bound_box::E, mean(), bound_box::N, bound_box::S, Vect_point_in_box(), Vect_region_box(), and bound_box::W.
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.
int P_set_dim | ( | struct Reg_dimens * | dim, |
double | pe, | ||
double | pn, | ||
int * | nsplx, | ||
int * | nsply | ||
) |
Definition at line 117 of file zones.c.
References Cell_head::east, Reg_dimens::edge_h, Reg_dimens::edge_v, Reg_dimens::ew_size, G_get_window(), Cell_head::north, Reg_dimens::overlap, Reg_dimens::sn_size, Cell_head::south, and Cell_head::west.
int P_set_regions | ( | struct Cell_head * | Elaboration, |
struct bound_box * | General, | ||
struct bound_box * | Overlap, | ||
struct Reg_dimens | dim, | ||
int | type | ||
) |
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.