GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
GIS Library - Window mapping functions. More...
Go to the source code of this file.
Functions | |
double | G_adjust_east_longitude (double east, double west) |
Adjust east longitude. More... | |
double | G_adjust_easting (double east, const struct Cell_head *window) |
Returns east not smaller than west. More... | |
void | G__init_window (void) |
Initialize window (region). More... | |
GIS Library - Window mapping functions.
(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/window_map.c.
void G__init_window | ( | void | ) |
Initialize window (region).
Definition at line 76 of file gis/window_map.c.
References G_get_window(), G_initialize_done(), G_is_initialized(), G__::window, and G__::window_set.
Referenced by G_init_all(), and Rast__init_window().
double G_adjust_east_longitude | ( | double | east, |
double | west | ||
) |
Adjust east longitude.
This routine returns an equivalent east that is at least as large as the west coordinate.
Note: This routine should be used only with latitude-longitude coordinates.
east | east coordinate |
west | west coordinate |
Definition at line 32 of file gis/window_map.c.
double G_adjust_easting | ( | double | east, |
const struct Cell_head * | window | ||
) |
Returns east not smaller than west.
If the region projection is PROJECTION_LL
, then this routine returns an equivalent east that is not smaller than the coordinate for the western edge of the region and, if possible, smaller than the coordinate for the eastern edge of the region. Otherwise no adjustment is made and the original east is returned.
east | east coordinate |
window | pointer to Cell_head |
Definition at line 58 of file gis/window_map.c.
Referenced by G_plot_where_en().