[GRASS-SVN] r43765 - grass/branches/releasebranch_6_4/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 2 05:26:30 EDT 2010


Author: mmetz
Date: 2010-10-02 09:26:30 +0000 (Sat, 02 Oct 2010)
New Revision: 43765

Modified:
   grass/branches/releasebranch_6_4/lib/vector/Vlib/select.c
Log:
select 3D lines with 2D polygon (backport r40383)

Modified: grass/branches/releasebranch_6_4/lib/vector/Vlib/select.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/select.c	2010-10-02 08:34:38 UTC (rev 43764)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/select.c	2010-10-02 09:26:30 UTC (rev 43765)
@@ -215,6 +215,8 @@
 
     /* Select first all lines by box */
     dig_line_box(Polygon, &box);
+    box.T = PORT_DOUBLE_MAX;
+    box.B = -PORT_DOUBLE_MAX;
     Vect_select_lines_by_box(Map, &box, type, LocList);
     G_debug(3, "  %d lines selected by box", LocList->n_values);
 



More information about the grass-commit mailing list