[geos-commits] r3216 - trunk/include/geos/geom

svn_geos at osgeo.org svn_geos at osgeo.org
Sun Feb 13 17:30:55 EST 2011


Author: strk
Date: 2011-02-13 14:30:55 -0800 (Sun, 13 Feb 2011)
New Revision: 3216

Modified:
   trunk/include/geos/geom/CoordinateList.h
Log:
Add an .empty() interface to CoordinateList

Modified: trunk/include/geos/geom/CoordinateList.h
===================================================================
--- trunk/include/geos/geom/CoordinateList.h	2011-02-13 21:29:20 UTC (rev 3215)
+++ trunk/include/geos/geom/CoordinateList.h	2011-02-13 22:30:55 UTC (rev 3216)
@@ -85,6 +85,11 @@
 		return coords.size();
 	}
 
+	bool empty() const
+	{
+		return coords.empty();
+	}
+
 	iterator begin()
 	{
 		return coords.begin();



More information about the geos-commits mailing list