GRASS GIS 8 Programmer's Manual 8.4.1(2025)-45ca3179ab
|
GIS Library - Set window (map region) More...
Go to the source code of this file.
Functions | |
void | G_get_set_window (struct Cell_head *window) |
Get the current working window (region) | |
void | G_set_window (struct Cell_head *window) |
Establishes window as the current working window (region). | |
GIS Library - Set window (map region)
(C) 2001-2009, 2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file gis/set_window.c.
void G_get_set_window | ( | struct Cell_head * | window | ) |
Get the current working window (region)
The current working window values are returned in the structure window
.
Previous calls to G_set_window() affects values returned by this function. Previous calls to G_put_window() affects values returned by this function only if the current working window is not initialized.
[out] | window | pointer to window structure to be set |
Definition at line 35 of file gis/set_window.c.
References G__init_window(), and G__::window.
Referenced by G_begin_cell_area_calculations(), G_get_3dview(), G_projection(), G_setup_plot(), G_zone(), Gp_load_sites(), GS_get_to_real(), GS_libinit(), GS_set_focus_real(), Gv_load_vect(), N_init_geom_data_2d(), N_init_geom_data_3d(), N_read_rast_to_array_2d(), N_write_array_2d_to_rast(), and P_estimate_splinestep().
void G_set_window | ( | struct Cell_head * | window | ) |
Establishes window
as the current working window (region).
This function adjusts the window
before setting the region so you don't have to call G_adjust_Cell_head().
window | window to become operative window |
Definition at line 53 of file gis/set_window.c.
References G_adjust_Cell_head(), G__::window, and G__::window_set.