GRASS 8 Programmer's Manual 8.6.0dev(2026)-8843f13794
Loading...
Searching...
No Matches
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.

SPDX-FileCopyrightText: 2001-2009 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

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

References G_window_overlap(), and W.