GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73574
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
overlap.c File Reference

Vector library - region/window overlap. More...

#include <grass/vector.h>
Include dependency graph for overlap.c:

Go to the source code of this file.

Functions

int V__map_overlap (struct Map_info *Map, double n, double s, double e, double w)
 

Detailed Description

Vector library - region/window overlap.

Higher level functions for reading/writing/manipulating vectors.

(C) 2001-2009 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.

Author
Original author CERL, probably Dave Gerdes or Mike Higgins.
Update to GRASS 5.7 Radim Blazek and David D. Gray.

Definition in file overlap.c.

Function Documentation

int V__map_overlap ( struct Map_info Map,
double  n,
double  s,
double  e,
double  w 
)

Check if region overlaps with map extent.

Parameters
Mapvector map
n,s,e,wregion bounding box
Returns
1 if regions overlap
0 if not

Definition at line 29 of file overlap.c.

References Map_info::box, Map_info::constraint, bound_box::E, Cell_head::east, G_window_overlap(), Map_info::head, bound_box::N, Cell_head::north, dig_head::proj, Cell_head::proj, bound_box::S, Cell_head::south, bound_box::W, and Cell_head::west.