GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
OGSF library - loading vector sets (lower level functions) More...
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/glocale.h>
#include <grass/gstypes.h>
Go to the source code of this file.
Functions | |
geoline * | Gv_load_vect (const char *grassname, int *nlines) |
Load vector map to memory. More... | |
void | sub_Vectmem (int minus) |
Tracking memory. More... | |
OGSF library - loading vector sets (lower level functions)
GRASS OpenGL gsurf OGSF Library
(C) 1999-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file Gv3.c.
geoline* Gv_load_vect | ( | const char * | grassname, |
int * | nlines | ||
) |
Load vector map to memory.
The other alternative may be to load to a tmp file
grassname | vector map name | |
[out] | number | of loaded features |
Definition at line 45 of file Gv3.c.
References G_debug(), G_find_vector2(), G_free(), G_fully_qualified_name(), G_get_set_window(), G_message(), G_warning(), GS_v3cross(), main::GV_LINES, n, NULL, dialogs::type, Vect_close(), Vect_get_area_points(), Vect_get_num_areas(), Vect_is_3d(), Vect_new_line_struct(), Vect_open_old(), Vect_read_next_line(), Vect_set_constraint_region(), Vect_set_open_level(), X, and Y.
Referenced by GV_load_vector().
void sub_Vectmem | ( | int | minus | ) |
Tracking memory.
minus | mimus number |
Definition at line 272 of file Gv3.c.
Referenced by gv_free_vectmem().