[GRASS-SVN] r52532 - grass/trunk/include/defs

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 5 01:10:07 PDT 2012


Author: mmetz
Date: 2012-08-05 01:10:07 -0700 (Sun, 05 Aug 2012)
New Revision: 52532

Modified:
   grass/trunk/include/defs/vector.h
Log:
Vlib: pass pointer instead of struct

Modified: grass/trunk/include/defs/vector.h
===================================================================
--- grass/trunk/include/defs/vector.h	2012-08-05 08:08:46 UTC (rev 52531)
+++ grass/trunk/include/defs/vector.h	2012-08-05 08:10:07 UTC (rev 52532)
@@ -299,9 +299,12 @@
 /* Selecting features */
 int Vect_select_lines_by_box(struct Map_info *, const struct bound_box *,
                          int, struct boxlist *);
-int Vect_select_areas_by_box(struct Map_info *, const struct bound_box *, struct boxlist *);
-int Vect_select_isles_by_box(struct Map_info *, const struct bound_box *, struct boxlist *);
-int Vect_select_nodes_by_box(struct Map_info *, const struct bound_box *, struct ilist *);
+int Vect_select_areas_by_box(struct Map_info *, const struct bound_box *,
+                             struct boxlist *);
+int Vect_select_isles_by_box(struct Map_info *, const struct bound_box *,
+			     struct boxlist *);
+int Vect_select_nodes_by_box(struct Map_info *, const struct bound_box *,
+                             struct ilist *);
 int Vect_find_node(struct Map_info *, double, double, double, double, int);
 int Vect_find_line(struct Map_info *, double, double, double, int, double,
                    int, int);
@@ -326,9 +329,9 @@
 int Vect_get_point_in_poly(const struct line_pnts *, double *, double *);
 int Vect_get_point_in_poly_isl(const struct line_pnts *, const struct line_pnts **, int,
                                double *, double *);
-int Vect_point_in_area(double, double, const struct Map_info *, int, struct bound_box);
-int Vect_point_in_area_outer_ring(double, double, const struct Map_info *, int, struct bound_box);
-int Vect_point_in_island(double, double, const struct Map_info *, int, struct bound_box);
+int Vect_point_in_area(double, double, const struct Map_info *, int, struct bound_box *);
+int Vect_point_in_area_outer_ring(double, double, const struct Map_info *, int, struct bound_box *);
+int Vect_point_in_island(double, double, const struct Map_info *, int, struct bound_box *);
 int Vect_point_in_poly(double, double, const struct line_pnts *);
 
 /* Cleaning */



More information about the grass-commit mailing list