GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71933
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
flip.c File Reference

Vedit library - flip lines. More...

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

Go to the source code of this file.


int Vedit_flip_lines (struct Map_info *Map, struct ilist *List)
 Flip direction of selected lines. More...

Detailed Description

Vedit library - flip lines.

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

Martin Landa <landa.martin>

Definition in file flip.c.

Function Documentation

int Vedit_flip_lines ( struct Map_info Map,
struct ilist List 

Flip direction of selected lines.

Mappointer to Map_info
Listlist of selected lines
number of modified lines
-1 on error

Definition at line 25 of file flip.c.

References G_debug(), GV_LINES, ilist::n_values, ilist::value, Vect_destroy_cats_struct(), Vect_destroy_line_struct(), Vect_line_alive(), Vect_line_reverse(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_read_line(), and Vect_rewrite_line().