GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
2D/3D raster map header (used also for region) More...
#include <gis.h>
Data Fields | |
int | format |
Max number of bytes per raster data value minus 1 (raster header only) More... | |
int | compressed |
Compression mode (raster header only) More... | |
int | rows |
Number of rows for 2D data. More... | |
int | rows3 |
Number of rows for 3D data. More... | |
int | cols |
Number of columns for 2D data. More... | |
int | cols3 |
Number of columns for 3D data. More... | |
int | depths |
number of depths for 3D data More... | |
int | proj |
Projection code. More... | |
int | zone |
Projection zone (UTM) More... | |
double | ew_res |
Resolution - east to west cell size for 2D data. More... | |
double | ew_res3 |
Resolution - east to west cell size for 3D data. More... | |
double | ns_res |
Resolution - north to south cell size for 2D data. More... | |
double | ns_res3 |
Resolution - north to south cell size for 3D data. More... | |
double | tb_res |
Resolution - top to bottom cell size for 3D data. More... | |
double | north |
Extent coordinates (north) More... | |
double | south |
Extent coordinates (south) More... | |
double | east |
Extent coordinates (east) More... | |
double | west |
Extent coordinates (west) More... | |
double | top |
Extent coordinates (top) - 3D data. More... | |
double | bottom |
Extent coordinates (bottom) - 3D data. More... | |
double Cell_head::bottom |
Extent coordinates (bottom) - 3D data.
Definition at line 479 of file gis.h.
Referenced by G__write_Cell_head3(), GS_get_aspect(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().
int Cell_head::cols |
Number of columns for 2D data.
Definition at line 442 of file gis.h.
Referenced by G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_get_3dview_defaults(), N_alloc_gradient_field_2d(), N_alloc_gradient_field_3d(), N_compute_gradient_field_2d(), N_compute_gradient_field_3d(), N_compute_gradient_field_components_2d(), N_compute_gradient_field_components_3d(), N_les_integrate_dirichlet_2d(), N_les_integrate_dirichlet_3d(), N_read_rast3d_to_array_3d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_to_cell_head(), Rast__create_window_mapping(), Rast__read_null_bits(), Rast__write_null_bits(), Rast_get_vrt(), Rast_get_vrt_row(), Rast_input_window_cols(), Rast_output_window_cols(), and Rast_window_cols().
int Cell_head::cols3 |
Number of columns for 3D data.
Definition at line 444 of file gis.h.
Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().
int Cell_head::compressed |
Compression mode (raster header only)
Definition at line 436 of file gis.h.
Referenced by G__write_Cell_head(), G_get_3dview_defaults(), Rast__check_format(), Rast__open_old(), and Rast__read_row_ptrs().
int Cell_head::depths |
number of depths for 3D data
Definition at line 446 of file gis.h.
Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), N_alloc_gradient_field_3d(), N_compute_gradient_field_3d(), N_compute_gradient_field_components_3d(), N_les_integrate_dirichlet_3d(), N_read_rast3d_to_array_3d(), N_write_array_3d_to_rast3d(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().
double Cell_head::east |
Extent coordinates (east)
Definition at line 473 of file gis.h.
Referenced by G__write_Cell_head(), G_adjust_window_ll(), G_get_3dview_defaults(), P_set_dim(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_from_to_cell_head(), Rast3d_region_to_cell_head(), Rast__create_window_mapping(), Rast_get_vrt(), and Vect_region_box().
double Cell_head::ew_res |
Resolution - east to west cell size for 2D data.
Definition at line 459 of file gis.h.
Referenced by G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_get_3dview_defaults(), Gs_load_3dview(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_to_cell_head(), Rast__create_window_mapping(), and Rast_get_vrt().
double Cell_head::ew_res3 |
Resolution - east to west cell size for 3D data.
Definition at line 461 of file gis.h.
Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().
int Cell_head::format |
Max number of bytes per raster data value minus 1 (raster header only)
Note: -1 for FP raster maps
Definition at line 429 of file gis.h.
Referenced by G__write_Cell_head(), G_get_3dview_defaults(), and Rast__open_old().
double Cell_head::north |
Extent coordinates (north)
Definition at line 469 of file gis.h.
Referenced by G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_get_3dview_defaults(), P_set_dim(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_from_to_cell_head(), Rast3d_region_to_cell_head(), Rast__create_window_mapping(), Rast_get_vrt(), Rast_get_vrt_row(), and Vect_region_box().
double Cell_head::ns_res |
Resolution - north to south cell size for 2D data.
Definition at line 463 of file gis.h.
Referenced by G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_get_3dview_defaults(), Gs_load_3dview(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_to_cell_head(), Rast__create_window_mapping(), and Rast_get_vrt_row().
double Cell_head::ns_res3 |
Resolution - north to south cell size for 3D data.
Definition at line 465 of file gis.h.
Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().
int Cell_head::proj |
Projection code.
Definition at line 455 of file gis.h.
Referenced by G__write_Cell_head(), G__write_Cell_head3(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_get_3dview_defaults(), G_projection(), GPJ_osr_to_grass(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_from_to_cell_head(), Rast3d_region_to_cell_head(), Rast__check_for_auto_masking(), Rast__create_window_mapping(), Rast__open_old(), and Rast_get_vrt().
int Cell_head::rows |
Number of rows for 2D data.
Definition at line 438 of file gis.h.
Referenced by G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_get_3dview_defaults(), N_alloc_gradient_field_2d(), N_alloc_gradient_field_3d(), N_compute_gradient_field_2d(), N_compute_gradient_field_3d(), N_compute_gradient_field_components_2d(), N_compute_gradient_field_components_3d(), N_les_integrate_dirichlet_2d(), N_les_integrate_dirichlet_3d(), N_read_rast3d_to_array_3d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_to_cell_head(), Rast__check_format(), Rast__close_null(), Rast__read_null_row_ptrs(), Rast__read_row_ptrs(), Rast__write_null_row_ptrs(), Rast__write_row_ptrs(), Rast_get_vrt_row(), Rast_input_window_rows(), Rast_output_window_rows(), Rast_row_repeat_nomask(), and Rast_window_rows().
int Cell_head::rows3 |
Number of rows for 3D data.
Definition at line 440 of file gis.h.
Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().
double Cell_head::south |
Extent coordinates (south)
Definition at line 471 of file gis.h.
Referenced by G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_get_3dview_defaults(), Gs_load_3dview(), P_set_dim(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_from_to_cell_head(), Rast3d_region_to_cell_head(), Rast_get_vrt(), Rast_get_vrt_row(), and Vect_region_box().
double Cell_head::tb_res |
Resolution - top to bottom cell size for 3D data.
Definition at line 467 of file gis.h.
Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().
double Cell_head::top |
Extent coordinates (top) - 3D data.
Definition at line 477 of file gis.h.
Referenced by G__write_Cell_head3(), GS_get_aspect(), N_callback_gwflow_2d(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().
double Cell_head::west |
Extent coordinates (west)
Definition at line 475 of file gis.h.
Referenced by G__write_Cell_head(), G_adjust_window_ll(), G_get_3dview_defaults(), Gs_load_3dview(), P_set_dim(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_from_to_cell_head(), Rast3d_region_to_cell_head(), Rast__create_window_mapping(), Rast_get_vrt(), and Vect_region_box().
int Cell_head::zone |
Projection zone (UTM)
Definition at line 457 of file gis.h.
Referenced by G__write_Cell_head(), G_get_3dview_defaults(), G_zone(), GPJ_osr_to_grass(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_from_to_cell_head(), Rast3d_region_to_cell_head(), Rast__check_for_auto_masking(), and Rast__open_old().