52 if (easting > window->
east || easting < window->
west ||
53 northing > window->
north || northing < window->
south)
void G_get_window(struct Cell_head *)
Get the current region.
2D/3D raster map header (used also for region)
double north
Extent coordinates (north)
double east
Extent coordinates (east)
double south
Extent coordinates (south)
double west
Extent coordinates (west)
int G_point_in_window(double easting, double northing, const struct Cell_head *window)
Returns TRUE if coordinate is within the given map region.
int G_point_in_region(double easting, double northing)
Returns TRUE if coordinate is within the current region settings.