[geos-commits] [SCM] GEOS branch main updated. f526c4f972f9a0caeecbf282698184933b2c42e4

git at osgeo.org git at osgeo.org
Tue Apr 18 10:16:25 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, main has been updated
       via  f526c4f972f9a0caeecbf282698184933b2c42e4 (commit)
      from  7666268c905bbc2fe5c22ce7745c6b9e24519eb7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f526c4f972f9a0caeecbf282698184933b2c42e4
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Apr 18 10:15:47 2023 -0700

    Move CoverageUnion into the coverage section

diff --git a/capi/geos_c.h.in b/capi/geos_c.h.in
index cef509caa..ea370ad84 100644
--- a/capi/geos_c.h.in
+++ b/capi/geos_c.h.in
@@ -760,8 +760,14 @@ extern void GEOS_DLL GEOSGeom_destroy_r(
 
 /* ========= Coverages ========= */
 
+/** \see GEOSCoverageUnion */
+extern GEOSGeometry GEOS_DLL *
+GEOSCoverageUnion_r(
+    GEOSContextHandle_t handle,
+    const GEOSGeometry* g);
+
 /** \see GEOSCoverageIsValid */
-int
+extern int GEOS_DLL
 GEOSCoverageIsValid_r(
     GEOSContextHandle_t extHandle,
     const GEOSGeometry* input,
@@ -927,11 +933,6 @@ extern GEOSGeometry GEOS_DLL *GEOSUnaryUnionPrec_r(
     const GEOSGeometry* g,
     double gridSize);
 
-/** \see GEOSCoverageUnion */
-extern GEOSGeometry GEOS_DLL *GEOSCoverageUnion_r(
-    GEOSContextHandle_t handle,
-    const GEOSGeometry* g);
-
 /** \see GEOSDisjointSubsetUnion */
 extern GEOSGeometry GEOS_DLL *GEOSDisjointSubsetUnion_r(
     GEOSContextHandle_t handle,
@@ -3504,18 +3505,6 @@ extern GEOSGeometry GEOS_DLL *GEOSUnaryUnionPrec(
     const GEOSGeometry* g,
     double gridSize);
 
-/**
-* Optimized union algorithm for polygonal inputs that are correctly
-* noded and do not overlap. It will generate an error (return NULL)
-* for inputs that do not satisfy this constraint.
-* \param g The input geometry
-* \return A geometry that covers all the points of the input geometry.
-* Caller is responsible for freeing with GEOSGeom_destroy().
-*
-* \since 3.8
-*/
-extern GEOSGeometry GEOS_DLL *GEOSCoverageUnion(const GEOSGeometry *g);
-
 /**
 * Optimized union algorithm for inputs that can be divided into subsets
 * that do not intersect. If there is only one such subset, performance
@@ -3746,6 +3735,19 @@ extern GEOSGeometry GEOS_DLL *GEOSOffsetCurve(const GEOSGeometry* g,
 */
 ///@{
 
+/**
+* Optimized union algorithm for polygonal inputs that are correctly
+* noded and do not overlap. It will generate an error (return NULL)
+* for inputs that do not satisfy this constraint.
+* \param g The input geometry
+* \return A geometry that covers all the points of the input geometry.
+* Caller is responsible for freeing with GEOSGeom_destroy().
+*
+* \since 3.8
+*/
+extern GEOSGeometry GEOS_DLL *GEOSCoverageUnion(const GEOSGeometry *g);
+
+
 /**
 * Analyze a coverage (represented as a collection of polygonal geometry
 * with exactly matching edge geometry) to find places where the

-----------------------------------------------------------------------

Summary of changes:
 capi/geos_c.h.in | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list