GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
vector/vedit/delete.c File Reference

Vedit library - delete primitives. More...

#include <grass/vedit.h>
Include dependency graph for vector/vedit/delete.c:

Go to the source code of this file.

Functions

int Vedit_delete_lines (struct Map_info *Map, struct ilist *List)
 Delete selected primitives. More...
 

Detailed Description

Vedit library - delete primitives.

(C) 2007-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.

Author
Martin Landa <landa.martin gmail.com>

Definition in file vector/vedit/delete.c.

Function Documentation

int Vedit_delete_lines ( struct Map_info *  Map,
struct ilist *  List 
)

Delete selected primitives.

Parameters
Mappointer to Map_info
Listlist of primitives to be deleted
Returns
number of deleted primitives
-1 on on error

Definition at line 25 of file vector/vedit/delete.c.

References G_debug(), Vect_delete_line(), and Vect_line_alive().

Referenced by wxdigit.IVDigit::DeleteSelectedLines().