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

git at osgeo.org git at osgeo.org
Wed Jul 14 15:52:42 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  f4d05b230d75bb85624c147c0a51d4987f069218 (commit)
      from  13a3bbb015f82c4458fb7768fd24fc6231a11367 (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 f4d05b230d75bb85624c147c0a51d4987f069218
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Jul 14 15:52:38 2021 -0700

    Document fun behaviour of GEOSCoordSeq_isCCW, closes #1000

diff --git a/capi/geos_c.h.in b/capi/geos_c.h.in
index db72c40..80b03ef 100644
--- a/capi/geos_c.h.in
+++ b/capi/geos_c.h.in
@@ -1978,12 +1978,16 @@ extern int GEOS_DLL GEOSCoordSeq_getDimensions(
     unsigned int *dims);
 
 /**
-* Check orientation of a coordinate sequence.
+* Check orientation of a coordinate sequence. Closure of the sequence is
+* assumed. Invalid (collapsed) sequences will return false. Short (less
+* than 4 points) sequences will return exception.
 * \param s the coordinate sequence
 * \param is_ccw pointer for ccw value, 1 if counter-clockwise orientation, 0 otherwise
 * \return 0 on exception, 1 on success
 */
-extern int GEOS_DLL GEOSCoordSeq_isCCW(const GEOSCoordSequence* s, char* is_ccw);
+extern int GEOS_DLL GEOSCoordSeq_isCCW(
+    const GEOSCoordSequence* s,
+    char* is_ccw);
 
 /* ========== Linear referencing functions */
 

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

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


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list