|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
|
Vedit library - move primitives. More...
#include <grass/vedit.h>
Go to the source code of this file.
Functions | |
| int | Vedit_move_lines (struct Map_info *Map, struct Map_info **BgMap, int nbgmaps, struct ilist *List, double move_x, double move_y, double move_z, int snap, double thresh) |
| Move selected primitives. | |
Vedit library - move 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.
Definition in file vector/vedit/move.c.
| int Vedit_move_lines | ( | struct Map_info * | Map, |
| struct Map_info ** | BgMap, | ||
| int | nbgmaps, | ||
| struct ilist * | List, | ||
| double | move_x, | ||
| double | move_y, | ||
| double | move_z, | ||
| int | snap, | ||
| double | thresh | ||
| ) |
Move selected primitives.
| Map | pointer to Map_info |
| BgMap | list of background vector maps used for snapping |
| nbgmaps | Number of background vector maps in BgMap |
| List | list of primitives to be moved |
| move_x,move_y,move_z | direction (move_z used only if map is 3D) |
| snap | enable snapping (see globals.h) |
| thresh | snapping threshold (>0) |
Definition at line 31 of file vector/vedit/move.c.
References G_debug(), line_pnts::n_points, NO_SNAP, SNAPVERTEX, Vect_destroy_cats_struct(), Vect_destroy_line_struct(), Vect_is_3d(), Vect_line_alive(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_read_line(), Vect_rewrite_line(), Vedit_snap_point(), line_pnts::x, x, line_pnts::y, and line_pnts::z.