[GRASS-SVN] r31077 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 22 18:35:43 EDT 2008
Author: neteler
Date: 2008-04-22 18:35:43 -0400 (Tue, 22 Apr 2008)
New Revision: 31077
Modified:
grass/trunk/lib/vector/Vlib/tin.c
Log:
better debug output
Modified: grass/trunk/lib/vector/Vlib/tin.c
===================================================================
--- grass/trunk/lib/vector/Vlib/tin.c 2008-04-22 21:00:39 UTC (rev 31076)
+++ grass/trunk/lib/vector/Vlib/tin.c 2008-04-22 22:35:43 UTC (rev 31077)
@@ -56,7 +56,7 @@
}
area = Vect_find_area ( Map, tx, ty );
- G_debug (3, "area = %d", area );
+ G_debug (3, "TIN: area = %d", area );
if ( area == 0 ) return 0;
Area = Plus->Area[area];
@@ -70,7 +70,7 @@
y = Points->y;
z = Points->z;
for (i = 0; i < 3; i++) {
- G_debug(3, "%d %f %f %f", i, x[i], y[i], z[i] );
+ G_debug(3, "TIN: %d %f %f %f", i, x[i], y[i], z[i] );
}
vx1 = x[1] - x[0];
@@ -87,7 +87,7 @@
/* OK ? */
*tz = -(d + a*tx + b*ty) / c;
- G_debug(3, "z = %f", *tz );
+ G_debug(3, "TIN: z = %f", *tz );
return 1;
}
More information about the grass-commit
mailing list