level.c

Go to the documentation of this file.
00001 
00019 #include <grass/Vect.h>
00020 #include <grass/glocale.h>
00021 
00033 int Vect_level(struct Map_info *Map)
00034 {
00035     if (Map->open != VECT_OPEN_CODE) {
00036         if (Map->open != VECT_CLOSED_CODE)
00037             G_warning("Vect_level(): %s",
00038                       _("Map structure was never initialized"));
00039         else
00040             G_warning("Vect_level(): %s", _("Map structure has been closed"));
00041         return (-1);
00042     }
00043     return (Map->level);
00044 }

Generated on Thu Jul 16 13:21:17 2009 for GRASS Programmer's Manual by  doxygen 1.5.6