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 ( 00023 struct Map_info *Map, 00024 double n, double s, 00025 double e, double w) 00026 { 00027 struct Cell_head W; 00028 00029 /* updated for Lat lon support 21 Jun 91 */ 00030 W.north = Map->Constraint_N; 00031 W.south = Map->Constraint_S; 00032 W.east = Map->Constraint_E; 00033 W.west = Map->Constraint_W; 00034 W.proj = Map->proj; 00035 00036 return G_window_overlap (&W, n, s, e, w); 00037 } 00038