[geos-commits] [SCM] GEOS branch main updated. 90fc07bf2363e02e1bc5f2d1979447dc00479f58

git at osgeo.org git at osgeo.org
Wed Sep 29 13:40:03 PDT 2021


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  90fc07bf2363e02e1bc5f2d1979447dc00479f58 (commit)
      from  f5c3da3342b16da45a81704c6affcf4a855b49b6 (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 90fc07bf2363e02e1bc5f2d1979447dc00479f58
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Sep 29 22:39:48 2021 +0200

    Fix documentation for GEOSDistanceWithin

diff --git a/capi/geos_c.h.in b/capi/geos_c.h.in
index 5fe5bda..0d2ac4a 100644
--- a/capi/geos_c.h.in
+++ b/capi/geos_c.h.in
@@ -3317,7 +3317,7 @@ extern int GEOS_DLL GEOSPreparedDistance(
 /**
 * Using a \ref GEOSPreparedDistanceWithin do a high performance
 * calculation to find whether the prepared and provided geometry
-* is within the given max distance.
+* are within the given max distance.
 * Useful for situations where
 * one geometry is large and static and needs to be tested
 * against a large number of other geometries.
@@ -3987,7 +3987,8 @@ extern int GEOS_DLL GEOSDistance(
     double *dist);
 
 /**
-* Calculate the distance between two geometries.
+* Test whether the distance between two geometries is
+* within the given dist.
 * \param[in] g1 Input geometry
 * \param[in] g2 Input geometry
 * \param[in] dist max distance

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

Summary of changes:
 capi/geos_c.h.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list