GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
defs/vedit.h
Go to the documentation of this file.
1 #ifndef GRASS_VEDITDEFS_H
2 #define GRASS_VEDITDEFS_H
3 
4 /* break.c */
5 int Vedit_split_lines(struct Map_info *, struct ilist *,
6  struct line_pnts *, double, struct ilist *);
7 int Vedit_connect_lines(struct Map_info *, struct ilist *, double);
8 
9 /* extend.c */
10 int Vedit_extend_lines(struct Map_info *, struct ilist *, int, int, double);
11 
12 /* cats.c */
13 int Vedit_modify_cats(struct Map_info *, struct ilist *,
14  int, int, struct cat_list *);
15 
16 /* copy.c */
17 int Vedit_copy_lines(struct Map_info *, struct Map_info *, struct ilist *);
18 
19 /* chtype.c */
20 int Vedit_chtype_lines(struct Map_info *, struct ilist *);
21 
22 /* delete.c */
23 int Vedit_delete_lines(struct Map_info *, struct ilist *);
24 int Vedit_delete_area_centroid(struct Map_info *, int);
25 int Vedit_delete_area(struct Map_info *, int);
26 int Vedit_delete_areas_cat(struct Map_info *, int, int);
27 
28 /* distance.c */
29 double Vedit_get_min_distance(struct line_pnts *, struct line_pnts *,
30  int, int *);
31 
32 /* flip.c */
33 int Vedit_flip_lines(struct Map_info *, struct ilist *);
34 
35 /* merge.c */
36 int Vedit_merge_lines(struct Map_info *, struct ilist *);
37 
38 /* move.c */
39 int Vedit_move_lines(struct Map_info *, struct Map_info **, int,
40  struct ilist *, double, double, double, int, double);
41 
42 /* render.c */
43 struct robject_list *Vedit_render_map(struct Map_info *, struct bound_box *, int,
44  double, double, int, int, double);
45 
46 /* select.c */
47 int Vedit_select_by_query(struct Map_info *,
48  int, int, double, int, struct ilist *);
49 
50 /* snap.c */
51 int Vedit_snap_point(struct Map_info *,
52  int, double *, double *, double *, double, int);
53 int Vedit_snap_line(struct Map_info *, struct Map_info **, int,
54  int, struct line_pnts *, double, int);
55 int Vedit_snap_lines(struct Map_info *, struct Map_info **, int,
56  struct ilist *, double, int);
57 
58 /* vertex.c */
59 int Vedit_move_vertex(struct Map_info *, struct Map_info **, int,
60  struct ilist *,
61  struct line_pnts *, double, double,
62  double, double, double, int, int);
63 int Vedit_add_vertex(struct Map_info *Map, struct ilist *,
64  struct line_pnts *, double);
65 int Vedit_remove_vertex(struct Map_info *, struct ilist *,
66  struct line_pnts *, double);
67 
68 /* zbulk.c */
69 int Vedit_bulk_labeling(struct Map_info *, struct ilist *,
70  double, double, double, double, double, double);
71 
72 #endif /* GRASS_VEDITDEFS_H */
int Vedit_connect_lines(struct Map_info *, struct ilist *, double)
Connect lines in given threshold.
Definition: break.c:156
Bounding box.
Definition: dig_structs.h:65
int Vedit_remove_vertex(struct Map_info *, struct ilist *, struct line_pnts *, double)
Remove vertex from line.
Definition: vertex.c:284
double Vedit_get_min_distance(struct line_pnts *, struct line_pnts *, int, int *)
Calculate distances between two lines.
Feature geometry info - coordinates.
Definition: dig_structs.h:1675
struct robject_list * Vedit_render_map(struct Map_info *, struct bound_box *, int, double, double, int, int, double)
Render vector features into list.
int Vedit_merge_lines(struct Map_info *, struct ilist *)
Merge lines/boundaries.
Definition: merge.c:47
int Vedit_add_vertex(struct Map_info *Map, struct ilist *, struct line_pnts *, double)
Add new vertex to line.
Definition: vertex.c:194
int Vedit_delete_lines(struct Map_info *, struct ilist *)
Delete selected features.
int Vedit_snap_line(struct Map_info *, struct Map_info **, int, int, struct line_pnts *, double, int)
Snap selected primitive to its nearest primitive.
Definition: vedit/snap.c:99
Category list.
Definition: dig_structs.h:1723
int Vedit_move_vertex(struct Map_info *, struct Map_info **, int, struct ilist *, struct line_pnts *, double, double, double, double, double, int, int)
Move all vertices in bounding box(es)
Definition: vertex.c:33
int Vedit_move_lines(struct Map_info *, struct Map_info **, int, struct ilist *, double, double, double, int, double)
Move selected primitives.
int Vedit_delete_area(struct Map_info *, int)
Delete area (centroid + set of boundaries) by id.
int Vedit_extend_lines(struct Map_info *, struct ilist *, int, int, double)
Extend lines in given threshold.
Definition: extend.c:68
int Vedit_flip_lines(struct Map_info *, struct ilist *)
Flip direction of selected lines.
Definition: flip.c:25
Vector map info.
Definition: dig_structs.h:1259
int Vedit_bulk_labeling(struct Map_info *, struct ilist *, double, double, double, double, double, double)
Lines z-bulk labeling.
Definition: zbulk.c:32
int Vedit_copy_lines(struct Map_info *, struct Map_info *, struct ilist *)
Copy selected primitives.
int Vedit_delete_areas_cat(struct Map_info *, int, int)
Delete vector areas of given category.
List of integers.
Definition: gis.h:700
int Vedit_chtype_lines(struct Map_info *, struct ilist *)
Change primitive type.
Definition: chtype.c:29
int Vedit_delete_area_centroid(struct Map_info *, int)
Delete area (centroid and set of boundaries) by centroid.
int Vedit_snap_lines(struct Map_info *, struct Map_info **, int, struct ilist *, double, int)
Snap lines/boundaries.
Definition: vedit/snap.c:175
int Vedit_snap_point(struct Map_info *, int, double *, double *, double *, double, int)
Snap given point to the nearest primitive.
Definition: vedit/snap.c:28
int Vedit_select_by_query(struct Map_info *, int, int, double, int, struct ilist *)
Select primitives by query (based on geometry properties)
int Vedit_modify_cats(struct Map_info *, struct ilist *, int, int, struct cat_list *)
Add / remove categories.
int Vedit_split_lines(struct Map_info *, struct ilist *, struct line_pnts *, double, struct ilist *)
Split selected lines on given position.
Definition: break.c:32