[GRASS-SVN] r52537 - grass/trunk/vector/v.select

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 5 01:17:11 PDT 2012


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

Modified:
   grass/trunk/vector/v.select/overlap.c
   grass/trunk/vector/v.select/select.c
Log:
v.select fn def update

Modified: grass/trunk/vector/v.select/overlap.c
===================================================================
--- grass/trunk/vector/v.select/overlap.c	2012-08-05 08:16:27 UTC (rev 52536)
+++ grass/trunk/vector/v.select/overlap.c	2012-08-05 08:17:10 UTC (rev 52537)
@@ -57,7 +57,7 @@
 
     /* Try if any of line vertices is within area */
     for (i = 0; i < LPoints->n_points; i++) {
-	if (Vect_point_in_area(LPoints->x[i], LPoints->y[i], AMap, area, box)) {
+	if (Vect_point_in_area(LPoints->x[i], LPoints->y[i], AMap, area, &box)) {
 	    G_debug(4, "  -> line vertex inside area");
 	    return 1;
 	}

Modified: grass/trunk/vector/v.select/select.c
===================================================================
--- grass/trunk/vector/v.select/select.c	2012-08-05 08:16:27 UTC (rev 52536)
+++ grass/trunk/vector/v.select/select.c	2012-08-05 08:17:10 UTC (rev 52537)
@@ -292,7 +292,7 @@
 			}
 			else {
 			    if (Vect_point_in_area(BPoints->x[0], BPoints->y[0], aIn,
-			                           aarea, abox)) {
+			                           aarea, &abox)) {
 				found = 1;
 				break;
 			    }



More information about the grass-commit mailing list