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