GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
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.