GRASS Programmer's Manual  6.4.1(2011)
overlap.c
Go to the documentation of this file.
00001 /*
00002  ****************************************************************************
00003  *
00004  * MODULE:       Vector library 
00005  *              
00006  * AUTHOR(S):    Original author CERL, probably Dave Gerdes or Mike Higgins.
00007  *               Update to GRASS 5.7 Radim Blazek and David D. Gray.
00008  *
00009  * PURPOSE:      Higher level functions for reading/writing/manipulating vectors.
00010  *
00011  * COPYRIGHT:    (C) 2001 by the GRASS Development Team
00012  *
00013  *               This program is free software under the GNU General Public
00014  *              License (>=v2). Read the file COPYING that comes with GRASS
00015  *              for details.
00016  *
00017  *****************************************************************************/
00018 #include <grass/gis.h>
00019 #include <grass/Vect.h>
00020 
00021 int
00022 V__map_overlap(struct Map_info *Map, double n, double s, double e, double w)
00023 {
00024     struct Cell_head W;
00025 
00026     /* updated for Lat lon support 21 Jun 91 */
00027     W.north = Map->Constraint_N;
00028     W.south = Map->Constraint_S;
00029     W.east = Map->Constraint_E;
00030     W.west = Map->Constraint_W;
00031     W.proj = Map->proj;
00032 
00033     return G_window_overlap(&W, n, s, e, w);
00034 }
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines