GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
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) More... | |
void | G_set_window (struct Cell_head *window) |
Establishes window as the current working window (region). More... | |
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.
Referenced by D_setup(), G_projection(), G_setup_plot(), G_zone(), GS_get_to_real(), GS_set_focus_real(), I_iclass_analysis(), and N_init_geom_data_3d().
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.