[GRASS-SVN] r53625 - grass/trunk/vector/v.kernel

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 31 12:36:29 PDT 2012


Author: mmetz
Date: 2012-10-31 12:36:28 -0700 (Wed, 31 Oct 2012)
New Revision: 53625

Modified:
   grass/trunk/vector/v.kernel/main.c
Log:
v.kernel: use topology to get line type

Modified: grass/trunk/vector/v.kernel/main.c
===================================================================
--- grass/trunk/vector/v.kernel/main.c	2012-10-31 19:34:18 UTC (rev 53624)
+++ grass/trunk/vector/v.kernel/main.c	2012-10-31 19:36:28 UTC (rev 53625)
@@ -687,7 +687,7 @@
     n = Vect_get_node_n_lines(Map, node);
     for (i = 0; i < n; i++) {
 	line = Vect_get_node_line(Map, node, i);
-	type = Vect_read_line(Map, NULL, NULL, abs(line));
+	type = Vect_get_line_type(Map, abs(line));
 	if (type & GV_LINES)
 	    count++;
     }



More information about the grass-commit mailing list