[GRASS-SVN] r30375 - in grass/branches/releasebranch_6_3: include
lib/vector
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Feb 27 10:13:53 EST 2008
Author: martinl
Date: 2008-02-27 10:13:53 -0500 (Wed, 27 Feb 2008)
New Revision: 30375
Added:
grass/branches/releasebranch_6_3/include/vedit.h
grass/branches/releasebranch_6_3/lib/vector/vedit/
Modified:
grass/branches/releasebranch_6_3/lib/vector/Makefile
Log:
veditlib moved to lib/vector (backported from trunk)
Added: grass/branches/releasebranch_6_3/include/vedit.h
===================================================================
--- grass/branches/releasebranch_6_3/include/vedit.h (rev 0)
+++ grass/branches/releasebranch_6_3/include/vedit.h 2008-02-27 15:13:53 UTC (rev 30375)
@@ -0,0 +1,86 @@
+#ifndef __VEDIT_H__
+#define __VEDIT_H__
+
+#include <grass/gis.h>
+#include <grass/Vect.h>
+#include <grass/glocale.h>
+
+#define NO_SNAP 0 /* snapping disabled */
+#define SNAP 1 /* snapping enabled for nodes */
+#define SNAPVERTEX 2 /* snapping enabled for vertex also */
+
+#define QUERY_UNKNOWN -1
+#define QUERY_LENGTH 0 /* select by line length */
+#define QUERY_DANGLE 1 /* select dangles */
+
+/* break.c */
+int Vedit_split_lines(struct Map_info *, struct ilist *,
+ struct line_pnts *, double,
+ struct ilist *);
+int Vedit_connect_lines (struct Map_info *, struct ilist *,
+ double);
+
+/* cats.c */
+int Vedit_modify_cats (struct Map_info *, struct ilist *,
+ int, int, struct cat_list *);
+
+/* copy.c */
+int Vedit_copy_lines (struct Map_info *, struct Map_info *,
+ struct ilist *);
+
+/* chtype.c */
+int Vedit_chtype_lines(struct Map_info *, struct ilist *,
+ int *, int *, int *, int *);
+
+/* delete.c */
+
+int Vedit_delete_lines(struct Map_info *, struct ilist *);
+
+/* distance.c */
+double Vedit_get_min_distance(struct line_pnts *, struct line_pnts *,
+ int, int *);
+
+/* flip.c */
+int Vedit_flip_lines(struct Map_info *, struct ilist *);
+
+/* merge.c */
+int Vedit_merge_lines(struct Map_info *, struct ilist *);
+
+/* move.c */
+int Vedit_move_lines(struct Map_info *, struct Map_info **, int,
+ struct ilist *,
+ double, double, double, int, double);
+
+/* select.c */
+int Vedit_select_by_query(struct Map_info *,
+ int, int, double, int,
+ struct ilist *);
+
+/* snap.c */
+int Vedit_snap_point(struct Map_info *,
+ int, double *, double *, double *, double,
+ int);
+int Vedit_snap_line(struct Map_info *, struct Map_info **, int,
+ int, struct line_pnts *,
+ double, int);
+int Vedit_snap_lines(struct Map_info *, struct Map_info **, int,
+ struct ilist*,
+ double, int);
+
+/* vertex.c */
+int Vedit_move_vertex(struct Map_info *, struct Map_info **, int,
+ struct ilist *,
+ struct line_pnts*, double,
+ double, double, double,
+ int, int);
+int Vedit_add_vertex(struct Map_info *Map, struct ilist *,
+ struct line_pnts*, double);
+int Vedit_remove_vertex(struct Map_info *, struct ilist *,
+ struct line_pnts *, double);
+
+/* zbulk.c */
+int Vedit_bulk_labeling (struct Map_info *, struct ilist *,
+ double, double, double, double,
+ double, double);
+
+#endif /* __VEDIT_H__ */
Modified: grass/branches/releasebranch_6_3/lib/vector/Makefile
===================================================================
--- grass/branches/releasebranch_6_3/lib/vector/Makefile 2008-02-27 15:10:07 UTC (rev 30374)
+++ grass/branches/releasebranch_6_3/lib/vector/Makefile 2008-02-27 15:13:53 UTC (rev 30375)
@@ -4,7 +4,8 @@
dglib \
diglib \
Vlib \
- transform
+ transform \
+ vedit
#doxygen:
DOXNAME=vector
@@ -19,4 +20,3 @@
diglib: rtree
Vlib: rtree dglib diglib
-
More information about the grass-commit
mailing list