[prev in list] [next in list] [prev in thread] [next in thread]
List: geos-commits
Subject: [geos-commits] r2252 - trunk/source/geom
From: svn_geos () osgeo ! org
Date: 2009-01-21 22:18:37
Message-ID: 20090121221837.5B281E01473 () lists ! osgeo ! org
[Download RAW message or body]
Author: pramsey
Date: 2009-01-21 17:18:37 -0500 (Wed, 21 Jan 2009)
New Revision: 2252
Modified:
trunk/source/geom/Geometry.cpp
Log:
Remove geometryCollection protection from Union/Relate/Intersection/Difference.
Modified: trunk/source/geom/Geometry.cpp
===================================================================
--- trunk/source/geom/Geometry.cpp 2009-01-20 01:01:24 UTC (rev 2251)
+++ trunk/source/geom/Geometry.cpp 2009-01-21 22:18:37 UTC (rev 2252)
@@ -474,8 +474,6 @@
Geometry::relate(const Geometry *other) const
//throw(IllegalArgumentException *)
{
- checkNotGeometryCollection(this);
- checkNotGeometryCollection(other);
return RelateOp::relate(this, other);
}
@@ -527,8 +525,6 @@
Geometry*
Geometry::intersection(const Geometry *other) const
{
- checkNotGeometryCollection(this);
- checkNotGeometryCollection(other);
return OverlayOp::overlayOp(this, other, OverlayOp::opINTERSECTION);
}
@@ -536,9 +532,6 @@
Geometry::Union(const Geometry *other) const
//throw(TopologyException *, IllegalArgumentException *)
{
- checkNotGeometryCollection(this);
- checkNotGeometryCollection(other);
-
Geometry *out = NULL;
#ifdef SHORTCIRCUIT_PREDICATES
@@ -581,16 +574,12 @@
Geometry::difference(const Geometry *other) const
//throw(IllegalArgumentException *)
{
- checkNotGeometryCollection(this);
- checkNotGeometryCollection(other);
return OverlayOp::overlayOp(this, other, OverlayOp::opDIFFERENCE);
}
Geometry*
Geometry::symDifference(const Geometry *other) const
{
- checkNotGeometryCollection(this);
- checkNotGeometryCollection(other);
return OverlayOp::overlayOp(this, other, OverlayOp::opSYMDIFFERENCE);
}
_______________________________________________
geos-commits mailing list
geos-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic