[GRASS-SVN] r40384 - grass/branches/develbranch_6/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 12 05:27:09 EST 2010
Author: mmetz
Date: 2010-01-12 05:27:09 -0500 (Tue, 12 Jan 2010)
New Revision: 40384
Modified:
grass/branches/develbranch_6/lib/vector/Vlib/select.c
Log:
select 3D lines with 2D polygon, backport from trunk r40383
Modified: grass/branches/develbranch_6/lib/vector/Vlib/select.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/select.c 2010-01-12 10:24:23 UTC (rev 40383)
+++ grass/branches/develbranch_6/lib/vector/Vlib/select.c 2010-01-12 10:27:09 UTC (rev 40384)
@@ -227,6 +227,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