1 #ifndef GRASS_VEDITDEFS_H 2 #define GRASS_VEDITDEFS_H 40 struct ilist *,
double,
double,
double,
int,
double);
44 double,
double,
int,
int,
double);
48 int,
int,
double,
int,
struct ilist *);
52 int,
double *,
double *,
double *,
double,
int);
56 struct ilist *,
double,
int);
62 double,
double,
double,
int,
int);
70 double,
double,
double,
double,
double,
double);
int Vedit_connect_lines(struct Map_info *, struct ilist *, double)
Connect lines in given threshold.
int Vedit_remove_vertex(struct Map_info *, struct ilist *, struct line_pnts *, double)
Remove vertex from line.
double Vedit_get_min_distance(struct line_pnts *, struct line_pnts *, int, int *)
Calculate distances between two lines.
Feature geometry info - coordinates.
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.
int Vedit_add_vertex(struct Map_info *Map, struct ilist *, struct line_pnts *, double)
Add new vertex to line.
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.
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)
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.
int Vedit_flip_lines(struct Map_info *, struct ilist *)
Flip direction of selected lines.
int Vedit_bulk_labeling(struct Map_info *, struct ilist *, double, double, double, double, double, double)
Lines z-bulk labeling.
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.
int Vedit_chtype_lines(struct Map_info *, struct ilist *)
Change primitive type.
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.
int Vedit_snap_point(struct Map_info *, int, double *, double *, double *, double, int)
Snap given point to the nearest primitive.
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.