[GRASS-SVN] r56891 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 23 12:42:30 PDT 2013


Author: mmetz
Date: 2013-06-23 12:42:30 -0700 (Sun, 23 Jun 2013)
New Revision: 56891

Modified:
   grass/trunk/lib/vector/Vlib/dgraph.c
Log:
remove debug code from dgraph.c

Modified: grass/trunk/lib/vector/Vlib/dgraph.c
===================================================================
--- grass/trunk/lib/vector/Vlib/dgraph.c	2013-06-23 19:25:47 UTC (rev 56890)
+++ grass/trunk/lib/vector/Vlib/dgraph.c	2013-06-23 19:42:30 UTC (rev 56891)
@@ -222,8 +222,8 @@
     int looped;
     /* double EPSILON = 0.00000001; */
     double EPSILON = GRASS_EPSILON;
-    double *x, *y, az1, az2, bz1, bz2;
-    double x1, y1, z1, x2, y2, z2;
+    double *x, *y;
+    double x1, y1, x2, y2;
     int res;
 
     /*int res2
@@ -237,7 +237,6 @@
     np = Points->n_points;
     x = Points->x;
     y = Points->y;
-    az1 = az2 = bz1 = bz2 = 0;
 
     si = create_si_struct(np - 1);
 
@@ -254,16 +253,6 @@
 					y[j], x[j + 1], y[j + 1], &x1, &y1,
 					&x2, &y2);
 
-	    /*
-	    res =
-		Vect_segment_intersection(x[i], y[i], az1,
-		                          x[i + 1], y[i + 1], az2,
-					  x[j], y[j], bz1,
-					  x[j + 1], y[j + 1], bz2, 
-					  &x1, &y1, &z1, &x2, &y2, &z2, 0);
-	    */
-
-
 	    /*            res2 = segment_intersection_2d_e(x[i], y[i], x[i+1], y[i+1], x[j], y[j], x[j+1], y[j+1], &x1_, &y1_, &x2_, &y2_);
 	       if ((res != res2) || ((res != 0) && (x1!=x1_ || y1!=y1_)) ) {
 	       G_debug(1, "exact=%d orig=%d", res, res2);



More information about the grass-commit mailing list