[geos-commits] r2436 - in trunk/source: geom headers/geos/geom

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Apr 30 07:19:52 EDT 2009


Author: strk
Date: 2009-04-30 07:19:52 -0400 (Thu, 30 Apr 2009)
New Revision: 2436

Modified:
   trunk/source/geom/GeometryCollection.cpp
   trunk/source/headers/geos/geom/GeometryCollection.h
Log:
Oops, *now* we're at 1.14 (drop isSimple, rely on the one in base class)

Modified: trunk/source/geom/GeometryCollection.cpp
===================================================================
--- trunk/source/geom/GeometryCollection.cpp	2009-04-30 11:15:12 UTC (rev 2435)
+++ trunk/source/geom/GeometryCollection.cpp	2009-04-30 11:19:52 UTC (rev 2436)
@@ -156,8 +156,8 @@
 	return "GeometryCollection";
 }
 
-bool
-GeometryCollection::isSimple() const
+Geometry*
+GeometryCollection::getBoundary() const
 {
 	throw util::IllegalArgumentException("Operation not supported by GeometryCollection\n");
 	checkNotGeometryCollection(this);
@@ -165,12 +165,6 @@
 	return false;
 }
 
-Geometry*
-GeometryCollection::getBoundary() const
-{
-	throw util::IllegalArgumentException("Operation not supported by GeometryCollection\n");
-}
-
 bool
 GeometryCollection::equalsExact(const Geometry *other, double tolerance) const
 {

Modified: trunk/source/headers/geos/geom/GeometryCollection.h
===================================================================
--- trunk/source/headers/geos/geom/GeometryCollection.h	2009-04-30 11:15:12 UTC (rev 2435)
+++ trunk/source/headers/geos/geom/GeometryCollection.h	2009-04-30 11:19:52 UTC (rev 2436)
@@ -119,8 +119,6 @@
 
 	virtual GeometryTypeId getGeometryTypeId() const;
 
-	virtual bool isSimple() const;
-
 	virtual bool equalsExact(const Geometry *other,
 			double tolerance=0) const;
 



More information about the geos-commits mailing list