[geos-commits] r2918 - trunk/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Sun Feb 21 11:27:46 EST 2010


Author: strk
Date: 2010-02-21 11:27:46 -0500 (Sun, 21 Feb 2010)
New Revision: 2918

Modified:
   trunk/capi/geos_c.cpp
   trunk/capi/geos_c.h.in
Log:
Expose the non-reentrant version too (I know, I was against, but it's too much work on the postgis side for that right now)


Modified: trunk/capi/geos_c.cpp
===================================================================
--- trunk/capi/geos_c.cpp	2010-02-21 15:03:15 UTC (rev 2917)
+++ trunk/capi/geos_c.cpp	2010-02-21 16:27:46 UTC (rev 2918)
@@ -930,5 +930,11 @@
     return GEOSInterpolateNormalized_r(handle, g, d);
 }
 
+geos::geom::Geometry *
+GEOSGeom_extractUniquePoints (const geos::geom::Geometry *g)
+{
+    return GEOSGeom_extractUniquePoints_r(handle, g);
+}
 
+
 } /* extern "C" */

Modified: trunk/capi/geos_c.h.in
===================================================================
--- trunk/capi/geos_c.h.in	2010-02-21 15:03:15 UTC (rev 2917)
+++ trunk/capi/geos_c.h.in	2010-02-21 16:27:46 UTC (rev 2918)
@@ -547,6 +547,8 @@
                               const GEOSGeometry* g1, double tolerance);
 
 /* Return all distinct vertices of input geometry as a MULTIPOINT */
+extern GEOSGeometry GEOS_DLL *GEOSGeom_extractUniquePoints(
+                              const GEOSGeometry* g);
 extern GEOSGeometry GEOS_DLL *GEOSGeom_extractUniquePoints_r(
                               GEOSContextHandle_t handle,
                               const GEOSGeometry* g);



More information about the geos-commits mailing list