GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d12eea5925
|
Vedit library - delete vector features. More...
Go to the source code of this file.
Functions | |
int | Vedit_delete_lines (struct Map_info *Map, struct ilist *List) |
Delete selected features. More... | |
int | Vedit_delete_area_centroid (struct Map_info *Map, int centroid) |
Delete area (centroid and set of boundaries) by centroid. More... | |
int | Vedit_delete_area (struct Map_info *Map, int area) |
Delete area (centroid + set of boundaries) by id. More... | |
int | Vedit_delete_areas_cat (struct Map_info *Map, int field, int cat) |
Delete vector areas of given category. More... | |
Vedit library - delete vector features.
(C) 2007-2008, 2012 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 vector/vedit/delete.c.
int Vedit_delete_area | ( | struct Map_info * | Map, |
int | area | ||
) |
Delete area (centroid + set of boundaries) by id.
Map | pointer to Map_info struct |
area | id |
Definition at line 92 of file vector/vedit/delete.c.
Referenced by Vedit_delete_area_centroid(), and Vedit_delete_areas_cat().
int Vedit_delete_area_centroid | ( | struct Map_info * | Map, |
int | centroid | ||
) |
Delete area (centroid and set of boundaries) by centroid.
Map | pointer to Map_info struct |
centroid |
Definition at line 64 of file vector/vedit/delete.c.
References _, G_debug(), G_warning(), Vect_get_centroid_area(), and Vedit_delete_area().
int Vedit_delete_areas_cat | ( | struct Map_info * | Map, |
int | field, | ||
int | cat | ||
) |
Delete vector areas of given category.
Map | pointer to Map_info struct |
field | layer number |
cat | category number |
Definition at line 139 of file vector/vedit/delete.c.
References G_debug(), Vect_area_alive(), Vect_get_area_cat(), Vect_get_num_areas(), and Vedit_delete_area().
Delete selected features.
Map | pointer to Map_info |
List | list of features to be deleted |
Definition at line 29 of file vector/vedit/delete.c.