[GRASS-SVN] r54375 - grass/trunk/vector/v.hull

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 23 04:23:49 PST 2012


Author: martinl
Date: 2012-12-23 04:23:49 -0800 (Sun, 23 Dec 2012)
New Revision: 54375

Modified:
   grass/trunk/vector/v.hull/chull.c
   grass/trunk/vector/v.hull/main.c
Log:
v.hull: message cosmetics, add keyword for 3D 


Modified: grass/trunk/vector/v.hull/chull.c
===================================================================
--- grass/trunk/vector/v.hull/chull.c	2012-12-23 11:53:57 UTC (rev 54374)
+++ grass/trunk/vector/v.hull/chull.c	2012-12-23 12:23:49 UTC (rev 54375)
@@ -25,6 +25,7 @@
 
 #include <grass/gis.h>
 #include <grass/vector.h>
+#include <grass/glocale.h>
 
 #include "globals.h"
 
@@ -208,8 +209,7 @@
     int vnum = 0;
     int i;
 
-    G_message("Reading 3D vertices:");
-
+    G_important_message(_("Reading 3D vertices..."));
     for (i = 0; i < num_points; i++) {
 	v = MakeNullVertex();
 	v->v[X] = px[i];
@@ -393,9 +393,8 @@
     int numVertices;
 
 
-    G_message("Constructing 3D hull:");
+    G_important_message(_("Constructing 3D hull..."));
 
-
     v = vertices;
     i = 0;
     do {

Modified: grass/trunk/vector/v.hull/main.c
===================================================================
--- grass/trunk/vector/v.hull/main.c	2012-12-23 11:53:57 UTC (rev 54374)
+++ grass/trunk/vector/v.hull/main.c	2012-12-23 12:23:49 UTC (rev 54375)
@@ -51,8 +51,9 @@
     module = G_define_module();
     G_add_keyword(_("vector"));
     G_add_keyword(_("geometry"));
+    G_add_keyword(_("3D"));
     module->description =
-	_("Produces a convex hull for a given vector map.");
+	_("Produces a 2D/3D convex hull for a given vector map.");
     
     input = G_define_standard_option(G_OPT_V_INPUT);
     



More information about the grass-commit mailing list