GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71917
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vector/Vlib/window.c
Go to the documentation of this file.
1 /*!
2  \file lib/vector/Vlib/window.c
3 
4  \brief Vector library - window/region
5 
6  Higher level functions for reading/writing/manipulating vectors.
7 
8  (C) 2001-2009 by the GRASS Development Team
9 
10  This program is free software under the GNU General Public License
11  (>=v2). Read the file COPYING that comes with GRASS for details.
12 
13  \author Radim Blazek
14  */
15 #include <grass/vector.h>
16 
17 /*
18  int
19  Vect__get_window (
20  struct Map_info *Map, double *n, double *s, double *e, double *w)
21  {
22  struct dig_head *dhead;
23 
24  dhead = &(Map->head);
25 
26  *n = dhead->N;
27  *s = dhead->S;
28  *e = dhead->E;
29  *w = dhead->W;
30 
31  return (0);
32  }
33  */