GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
vector/vedit/copy.c File Reference

Vedit library - copy primitives. More...

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

Go to the source code of this file.

Functions

int Vedit_copy_lines (struct Map_info *Map, struct Map_info *FromMap, struct ilist *List)
 Copy selected primitives. More...
 

Detailed Description

Vedit library - copy 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
Jachym Cepicky <jachym.cepicky gmail.com>
Martin Landa <landa.martin gmail.com>

Definition in file vector/vedit/copy.c.

Function Documentation

◆ Vedit_copy_lines()

int Vedit_copy_lines ( struct Map_info Map,
struct Map_info FromMap,
struct ilist List 
)

Copy selected primitives.

Parameters
Mappointer to Map_info copy to
FromMapvector map copy from (if not given use Map)
Listlist of selected primitives (to be copied)
Returns
number of copied primitives
-1 on error

Definition at line 27 of file vector/vedit/copy.c.