[geos-commits] r2402 - in trunk/source: geom headers/geos/geom
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Apr 21 11:13:23 EDT 2009
Author: strk
Date: 2009-04-21 11:13:23 -0400 (Tue, 21 Apr 2009)
New Revision: 2402
Modified:
trunk/source/geom/LineString.cpp
trunk/source/headers/geos/geom/LineString.h
Log:
::reverse returns a Geometry now (to be available up in base class)
Modified: trunk/source/geom/LineString.cpp
===================================================================
--- trunk/source/geom/LineString.cpp 2009-04-21 15:12:20 UTC (rev 2401)
+++ trunk/source/geom/LineString.cpp 2009-04-21 15:13:23 UTC (rev 2402)
@@ -51,7 +51,7 @@
//points=ls.points->clone();
}
-LineString*
+Geometry*
LineString::reverse() const
{
assert(points.get());
Modified: trunk/source/headers/geos/geom/LineString.h
===================================================================
--- trunk/source/headers/geos/geom/LineString.h 2009-04-21 15:12:20 UTC (rev 2401)
+++ trunk/source/headers/geos/geom/LineString.h 2009-04-21 15:13:23 UTC (rev 2402)
@@ -152,7 +152,7 @@
*
* @return a LineString with coordinates in the reverse order
*/
- LineString* reverse() const;
+ Geometry* reverse() const;
protected:
More information about the geos-commits
mailing list