[geos-commits] r2567 - in trunk/source: headers/geos/operation/polygonize operation/polygonize

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Jun 8 12:58:42 EDT 2009


Author: strk
Date: 2009-06-08 12:58:42 -0400 (Mon, 08 Jun 2009)
New Revision: 2567

Modified:
   trunk/source/headers/geos/operation/polygonize/EdgeRing.h
   trunk/source/headers/geos/operation/polygonize/PolygonizeDirectedEdge.h
   trunk/source/headers/geos/operation/polygonize/PolygonizeEdge.h
   trunk/source/headers/geos/operation/polygonize/PolygonizeGraph.h
   trunk/source/headers/geos/operation/polygonize/Polygonizer.h
   trunk/source/operation/polygonize/EdgeRing.cpp
   trunk/source/operation/polygonize/PolygonizeDirectedEdge.cpp
   trunk/source/operation/polygonize/PolygonizeEdge.cpp
   trunk/source/operation/polygonize/PolygonizeGraph.cpp
   trunk/source/operation/polygonize/Polygonizer.cpp
Log:
Port info for polygonize operation


Modified: trunk/source/headers/geos/operation/polygonize/EdgeRing.h
===================================================================
--- trunk/source/headers/geos/operation/polygonize/EdgeRing.h	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/headers/geos/operation/polygonize/EdgeRing.h	2009-06-08 16:58:42 UTC (rev 2567)
@@ -14,7 +14,7 @@
  *
  **********************************************************************
  *
- * Last port: operation/polygonize/EdgeRing.java rev. 1.6
+ * Last port: operation/polygonize/EdgeRing.java rev. 1.8 (JTS-1.10)
  *
  **********************************************************************/
 

Modified: trunk/source/headers/geos/operation/polygonize/PolygonizeDirectedEdge.h
===================================================================
--- trunk/source/headers/geos/operation/polygonize/PolygonizeDirectedEdge.h	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/headers/geos/operation/polygonize/PolygonizeDirectedEdge.h	2009-06-08 16:58:42 UTC (rev 2567)
@@ -12,6 +12,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: operation/polygonize/PolygonizeDirectedEdge.java rev. 1.4 (JTS-1.10)
+ *
  **********************************************************************/
 
 

Modified: trunk/source/headers/geos/operation/polygonize/PolygonizeEdge.h
===================================================================
--- trunk/source/headers/geos/operation/polygonize/PolygonizeEdge.h	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/headers/geos/operation/polygonize/PolygonizeEdge.h	2009-06-08 16:58:42 UTC (rev 2567)
@@ -12,6 +12,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: operation/polygonize/PolygonizeEdge.java rev. 1.3 (JTS-1.10)
+ *
  **********************************************************************/
 
 

Modified: trunk/source/headers/geos/operation/polygonize/PolygonizeGraph.h
===================================================================
--- trunk/source/headers/geos/operation/polygonize/PolygonizeGraph.h	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/headers/geos/operation/polygonize/PolygonizeGraph.h	2009-06-08 16:58:42 UTC (rev 2567)
@@ -12,6 +12,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: operation/polygonize/PolygonizeGraph.java rev. 1.6 (JTS-1.10)
+ *
  **********************************************************************/
 
 

Modified: trunk/source/headers/geos/operation/polygonize/Polygonizer.h
===================================================================
--- trunk/source/headers/geos/operation/polygonize/Polygonizer.h	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/headers/geos/operation/polygonize/Polygonizer.h	2009-06-08 16:58:42 UTC (rev 2567)
@@ -12,6 +12,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: operation/polygonize/Polygonizer.java rev. 1.6 (JTS-1.10)
+ *
  **********************************************************************/
 
 

Modified: trunk/source/operation/polygonize/EdgeRing.cpp
===================================================================
--- trunk/source/operation/polygonize/EdgeRing.cpp	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/operation/polygonize/EdgeRing.cpp	2009-06-08 16:58:42 UTC (rev 2567)
@@ -14,7 +14,7 @@
  *
  **********************************************************************
  *
- * Last port: operation/polygonize/EdgeRing.java rev. 1.6
+ * Last port: operation/polygonize/EdgeRing.java rev. 1.8 (JTS-1.10)
  *
  **********************************************************************/
 

Modified: trunk/source/operation/polygonize/PolygonizeDirectedEdge.cpp
===================================================================
--- trunk/source/operation/polygonize/PolygonizeDirectedEdge.cpp	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/operation/polygonize/PolygonizeDirectedEdge.cpp	2009-06-08 16:58:42 UTC (rev 2567)
@@ -11,6 +11,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: operation/polygonize/PolygonizeDirectedEdge.java rev. 1.4 (JTS-1.10)
+ *
  **********************************************************************/
 
 #include <geos/operation/polygonize/PolygonizeDirectedEdge.h>

Modified: trunk/source/operation/polygonize/PolygonizeEdge.cpp
===================================================================
--- trunk/source/operation/polygonize/PolygonizeEdge.cpp	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/operation/polygonize/PolygonizeEdge.cpp	2009-06-08 16:58:42 UTC (rev 2567)
@@ -12,6 +12,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: operation/polygonize/PolygonizeEdge.java rev. 1.3 (JTS-1.10)
+ *
  **********************************************************************/
 
 

Modified: trunk/source/operation/polygonize/PolygonizeGraph.cpp
===================================================================
--- trunk/source/operation/polygonize/PolygonizeGraph.cpp	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/operation/polygonize/PolygonizeGraph.cpp	2009-06-08 16:58:42 UTC (rev 2567)
@@ -12,6 +12,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: operation/polygonize/PolygonizeGraph.java rev. 1.6 (JTS-1.10)
+ *
  **********************************************************************/
 
 #include <geos/operation/polygonize/PolygonizeGraph.h>

Modified: trunk/source/operation/polygonize/Polygonizer.cpp
===================================================================
--- trunk/source/operation/polygonize/Polygonizer.cpp	2009-06-08 16:46:33 UTC (rev 2566)
+++ trunk/source/operation/polygonize/Polygonizer.cpp	2009-06-08 16:58:42 UTC (rev 2567)
@@ -12,6 +12,10 @@
  * by the Free Software Foundation. 
  * See the COPYING file for more information.
  *
+ **********************************************************************
+ *
+ * Last port: operation/polygonize/Polygonizer.java rev. 1.6 (JTS-1.10)
+ *
  **********************************************************************/
 
 #include <geos/operation/polygonize/Polygonizer.h>
@@ -227,10 +231,8 @@
 
 	polyList=new vector<Polygon*>();
 
-	if (graph==NULL) // No valid geometries added
-	{
-		return; 
-	}
+	// if no geometries were supplied it's possible graph could be null
+	if (graph==NULL) return; 
 
 	dangles=graph->deleteDangles();
 	cutEdges=graph->deleteCutEdges();



More information about the geos-commits mailing list