[geos-commits] r2089 - in trunk/source: geom geom/prep headers/geos/geom/prep headers/geos/index/intervalrtree index/intervalrtree

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Dec 21 17:43:36 EST 2007


Author: mloskot
Date: 2007-12-21 17:43:36 -0500 (Fri, 21 Dec 2007)
New Revision: 2089

Modified:
   trunk/source/geom/CoordinateArraySequence.cpp
   trunk/source/geom/CoordinateSequence.cpp
   trunk/source/geom/LineString.cpp
   trunk/source/geom/prep/
   trunk/source/headers/geos/geom/prep/
   trunk/source/headers/geos/index/intervalrtree/
   trunk/source/index/intervalrtree/
Log:
Updated svn:ignore property.

Modified: trunk/source/geom/CoordinateArraySequence.cpp
===================================================================
--- trunk/source/geom/CoordinateArraySequence.cpp	2007-12-21 22:41:11 UTC (rev 2088)
+++ trunk/source/geom/CoordinateArraySequence.cpp	2007-12-21 22:43:36 UTC (rev 2089)
@@ -22,6 +22,7 @@
 #include <cassert>
 #include <algorithm>
 #include <vector>
+#include <iostream>
 
 using namespace std;
 

Modified: trunk/source/geom/CoordinateSequence.cpp
===================================================================
--- trunk/source/geom/CoordinateSequence.cpp	2007-12-21 22:41:11 UTC (rev 2088)
+++ trunk/source/geom/CoordinateSequence.cpp	2007-12-21 22:43:36 UTC (rev 2089)
@@ -25,6 +25,7 @@
 #include <algorithm>
 #include <vector>
 #include <cassert>
+#include <iostream>
 
 using namespace std;
 
@@ -233,12 +234,18 @@
 	static Profile *prof= profiler->get("CoordinateSequence::removeRepeatedPoints()");
 	prof->start();
 #endif
+    cout << "size: " << cl->size() << endl;
+    cout << "getSize: " << cl->getSize() << endl;
 	const vector<Coordinate> *v=cl->toVector();
 
 	vector<Coordinate> *nv=new vector<Coordinate>;
+    cout << "XXX: " << v->size() << endl;
 	nv->reserve(v->size());
+    cout << "d\n";
 	unique_copy(v->begin(), v->end(), back_inserter(*nv));
+    cout << "e\n";
 	CoordinateSequence* ret=CoordinateArraySequenceFactory::instance()->create(nv);
+    cout << "f\n";
 
 #if PROFILE
 	prof->stop();

Modified: trunk/source/geom/LineString.cpp
===================================================================
--- trunk/source/geom/LineString.cpp	2007-12-21 22:41:11 UTC (rev 2088)
+++ trunk/source/geom/LineString.cpp	2007-12-21 22:43:36 UTC (rev 2089)
@@ -34,6 +34,7 @@
 #include <typeinfo>
 #include <memory>
 #include <cassert>
+#include <iostream>
 
 using namespace std;
 using namespace geos::algorithm;
@@ -114,6 +115,8 @@
 const CoordinateSequence*
 LineString::getCoordinatesRO() const
 {
+    cout << "WWW: " << points.get()->getSize() << endl;
+	assert(points.get());
 	return points.get();
 }
 


Property changes on: trunk/source/geom/prep
___________________________________________________________________
Name: svn:ignore
   + .deps
.libs
Makefile
Makefile.in



Property changes on: trunk/source/headers/geos/geom/prep
___________________________________________________________________
Name: svn:ignore
   + Makefile
Makefile.in



Property changes on: trunk/source/headers/geos/index/intervalrtree
___________________________________________________________________
Name: svn:ignore
   + Makefile
Makefile.in



Property changes on: trunk/source/index/intervalrtree
___________________________________________________________________
Name: svn:ignore
   + .deps
.libs
Makefile
Makefile.in




More information about the geos-commits mailing list