GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-8f83c24630
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

◆ V__map_overlap()

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 28 of file overlap.c.