|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
|
Vedit library - category manipulation. More...

Go to the source code of this file.
Functions | |
| int | Vedit_modify_cats (struct Map_info *Map, struct ilist *List, int layer, int del, struct cat_list *Clist) |
| Add / remove categories. | |
Vedit library - category manipulation.
(C) 2006-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 vector/vedit/cats.c.
| int Vedit_modify_cats | ( | struct Map_info * | Map, |
| struct ilist * | List, | ||
| int | layer, | ||
| int | del, | ||
| struct cat_list * | Clist | ||
| ) |
Add / remove categories.
| Map | pointer to Map_info |
| List | list of selected primitives |
| layer | layer number |
| del | action (non-zero for delete otherwise add) |
| Clist | list of category numbers |
Definition at line 30 of file vector/vedit/cats.c.
References _, G_warning(), Vect_cat_set(), Vect_destroy_cats_struct(), Vect_destroy_line_struct(), Vect_field_cat_del(), Vect_line_alive(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_read_line(), and Vect_rewrite_line().