92 return ((north >= map->
window.
south) && (north <= map->window.north) &&
93 (east >= map->
window.
west) && (east <= map->window.east) &&
94 (((top >= map->
window.
bottom) && (top <= map->window.top)) ||
95 ((top <= map->window.bottom) && (top >= map->
window.
top))));
RASTER3D_Region g3d_window
void Rast3d_region_copy(RASTER3D_Region *, RASTER3D_Region *)
Copies the values of regionSrc into regionDst.
void Rast3d_set_window(RASTER3D_Region *window)
Sets the default window used for every map opened later in the program. Can be used multiple times in...
double top
Extent coordinates (top) - 3D data.
double north
Extent coordinates (north)
void Rast3d_set_window_map(RASTER3D_Map *map, RASTER3D_Region *window)
Sets the window for map to window. Can be used multiple times for the same map.
RASTER3D_Region * Rast3d_window_ptr()
void Rast3d_get_window(RASTER3D_Region *window)
Stores the current default window in window.
void Rast3d_adjust_region(RASTER3D_Region *)
Computes an adjusts the resolutions in the region structure from the region boundaries and number of ...
double east
Extent coordinates (east)
int Rast3d_isValidLocationWindow(RASTER3D_Map *map, double north, double east, double top)
Returns 1 if window-coordinates (north, east and top) are inside the window of map. Returns 0 otherwise.