[GRASS-SVN] r43898 - grass/branches/develbranch_6/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 13 16:07:21 EDT 2010


Author: martinl
Date: 2010-10-13 13:07:21 -0700 (Wed, 13 Oct 2010)
New Revision: 43898

Modified:
   grass/branches/develbranch_6/lib/vector/Vlib/build.c
Log:
v.build opt=dump does not report the Z coord (#1194)
(merge r43897 from trunk)


Modified: grass/branches/develbranch_6/lib/vector/Vlib/build.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/build.c	2010-10-13 20:05:17 UTC (rev 43897)
+++ grass/branches/develbranch_6/lib/vector/Vlib/build.c	2010-10-13 20:07:21 UTC (rev 43898)
@@ -290,7 +290,7 @@
     struct Plus_head *plus;
 
     plus = &(Map->plus);
-
+    
     fprintf(out, "---------- TOPOLOGY DUMP ----------\n");
 
     /* box */
@@ -305,8 +305,8 @@
 	    continue;
 	}
 	Node = plus->Node[i];
-	fprintf(out, "node = %d, n_lines = %d, xy = %f, %f\n", i,
-		Node->n_lines, Node->x, Node->y);
+	fprintf(out, "node = %d, n_lines = %d, xyz = %f, %f, %f\n", i,
+		Node->n_lines, Node->x, Node->y, Node->z);
 	for (j = 0; j < Node->n_lines; j++) {
 	    line = Node->lines[j];
 	    Line = plus->Line[abs(line)];



More information about the grass-commit mailing list