GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
merge.c File Reference

Vedit library - merge lines. More...

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

Go to the source code of this file.

Functions

int Vedit_merge_lines (struct Map_info *Map, struct ilist *List)
 Merge lines/boundaries. More...
 

Detailed Description

Vedit library - merge lines.

(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.

Author
Jachym Cepicky <jachym.cepicky gmail.com>
Martin Landa <landa.martin gmail.com>

Definition in file merge.c.

Function Documentation

◆ Vedit_merge_lines()

int Vedit_merge_lines ( struct Map_info Map,
struct ilist List 
)

Merge lines/boundaries.

At least two lines need to be given.

Parameters
Mappointer to Map_info
Listlist of selected lines
Returns
number of merged lines
-1 on error

Definition at line 47 of file merge.c.