[geos-commits] r2413 - in trunk/source: headers/geos/index/quadtree index/quadtree

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Apr 27 11:52:08 EDT 2009


Author: strk
Date: 2009-04-27 11:52:08 -0400 (Mon, 27 Apr 2009)
New Revision: 2413

Modified:
   trunk/source/headers/geos/index/quadtree/Root.h
   trunk/source/index/quadtree/Root.cpp
Log:
Port info for quadtree::root

Modified: trunk/source/headers/geos/index/quadtree/Root.h
===================================================================
--- trunk/source/headers/geos/index/quadtree/Root.h	2009-04-27 15:47:39 UTC (rev 2412)
+++ trunk/source/headers/geos/index/quadtree/Root.h	2009-04-27 15:52:08 UTC (rev 2413)
@@ -11,6 +11,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: index/quadtree/Root.java rev 1.7 (JTS-1.10)
+ *
  **********************************************************************/
 
 #ifndef GEOS_IDX_QUADTREE_ROOT_H

Modified: trunk/source/index/quadtree/Root.cpp
===================================================================
--- trunk/source/index/quadtree/Root.cpp	2009-04-27 15:47:39 UTC (rev 2412)
+++ trunk/source/index/quadtree/Root.cpp	2009-04-27 15:52:08 UTC (rev 2413)
@@ -12,6 +12,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: index/quadtree/Root.java rev 1.7 (JTS-1.10)
+ *
  **********************************************************************/
 
 #include <geos/index/quadtree/Root.h>
@@ -101,8 +105,10 @@
 	 * to infinite recursion. Instead, use a heuristic of simply returning
 	 * the smallest existing quad containing the query
 	 */
-	bool isZeroX=IntervalSize::isZeroWidth(itemEnv->getMinX(),itemEnv->getMaxX());
-	bool isZeroY=IntervalSize::isZeroWidth(itemEnv->getMinY(),itemEnv->getMaxY());
+	bool isZeroX = IntervalSize::isZeroWidth(itemEnv->getMinX(),
+	                                         itemEnv->getMaxX());
+	bool isZeroY = IntervalSize::isZeroWidth(itemEnv->getMinY(),
+	                                         itemEnv->getMaxY());
 
 	NodeBase *node;
 



More information about the geos-commits mailing list