15 #include <grass/vedit.h>
30 int nbgmaps,
struct ilist *List,
double move_x,
31 double move_y,
double move_z,
int snap,
double thresh)
33 struct line_pnts *Points;
34 struct line_cats *Cats;
36 int type, newline, line;
45 for (i = 0; i < List->n_values; i++) {
46 line = List->value[i];
53 G_debug(3,
"Vedit_move_lines(): type=%d, line=%d", type, line);
60 for (j = 0; j < Points->n_points; j++) {
66 if (snap != NO_SNAP) {
68 (snap == SNAPVERTEX) ? 1 : 0) == 0) {
72 for (bgi = 0; bgi < nbgmaps; bgi++) {
74 (BgMap[bgi], line, &x[j], &y[j], &z[j], thresh,
75 (snap == SNAPVERTEX) ? 1 : 0))