[geos-commits] r2124 - branches/3.0/source/geom

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Apr 21 19:22:11 EDT 2008


Author: pramsey
Date: 2008-04-21 19:22:11 -0400 (Mon, 21 Apr 2008)
New Revision: 2124

Modified:
   branches/3.0/source/geom/Geometry.cpp
Log:
Fix for rectangle optimization logic.


Modified: branches/3.0/source/geom/Geometry.cpp
===================================================================
--- branches/3.0/source/geom/Geometry.cpp	2008-02-07 22:59:35 UTC (rev 2123)
+++ branches/3.0/source/geom/Geometry.cpp	2008-04-21 23:22:11 UTC (rev 2124)
@@ -422,9 +422,11 @@
 	if (isRectangle()) {
 		return predicate::RectangleContains::contains((Polygon&)*this, *g);
 	}
+/* Removed per: http://www.nabble.com/ST_Contains-doesn't-work--to14946025.html
 	if (g->isRectangle()) {
 		return predicate::RectangleContains::contains((const Polygon&)*g, *this);
 	}
+*/
 
 	IntersectionMatrix *im=relate(g);
 	bool res=im->isContains();



More information about the geos-commits mailing list