[geos-commits] [SCM] GEOS branch main updated. 19455699c7fe48ae54d0bdb4fa914bf40b46e247
git at osgeo.org
git at osgeo.org
Tue May 21 11:35:27 PDT 2024
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 19455699c7fe48ae54d0bdb4fa914bf40b46e247 (commit)
from 5e5fc99c7a3d97b12fe76ca43b940abc79f8d389 (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 19455699c7fe48ae54d0bdb4fa914bf40b46e247
Author: Sandro Santilli <strk at kbt.io>
Date: Tue May 21 20:34:15 2024 +0200
Format only: drop trailing spaces
diff --git a/capi/geos_c.h.in b/capi/geos_c.h.in
index 6e71db3fd..31d1feaef 100644
--- a/capi/geos_c.h.in
+++ b/capi/geos_c.h.in
@@ -4151,7 +4151,7 @@ extern GEOSGeometry GEOS_DLL *GEOSMaximumInscribedCircle(
* The LEC is determined by the center point and a point indicating the circle radius
* (which will lie on an obstacle).
* \n
-* To compute an LEC which lies **wholly** within a polygonal boundary,
+* To compute an LEC which lies **wholly** within a polygonal boundary,
* include the boundary of the polygon(s) as a linear obstacle.
* \n
* The implementation uses a successive-approximation technique over a grid of square cells covering the obstacles and boundary.
@@ -4366,9 +4366,9 @@ extern GEOSGeometry GEOS_DLL *GEOSPolygonize(
unsigned int ngeoms);
/**
-* Has the same polygonizing behavior as GEOSPolygonize(),
+* Has the same polygonizing behavior as GEOSPolygonize(),
* but returns a result which is a valid polygonal geometry.
-* The result will not contain any edge-adjacent elements.
+* The result will not contain any edge-adjacent elements.
*
* \param geoms Array of linear geometries to polygons. Caller retains ownersihp of both array container and objects.
* \param ngeoms Size of the geoms array.
diff --git a/tests/unit/capi/capi_test_utils.h b/tests/unit/capi/capi_test_utils.h
index 310ed82e3..3ceed08d6 100644
--- a/tests/unit/capi/capi_test_utils.h
+++ b/tests/unit/capi/capi_test_utils.h
@@ -96,7 +96,7 @@ namespace capitest {
char rslt;
if (g1 == nullptr || g2 == nullptr) {
rslt = (g1 == nullptr && g2 == nullptr) ? 1 : 0;
- }
+ }
else {
GEOSNormalize(g1);
GEOSNormalize(g2);
@@ -112,7 +112,7 @@ namespace capitest {
char rslt;
if (g1 == nullptr || g2 == nullptr) {
rslt = (g1 == nullptr && g2 == nullptr) ? 1 : 0;
- }
+ }
else {
rslt = GEOSEqualsExact(g1, g2, tolerance);
}
@@ -126,13 +126,13 @@ namespace capitest {
char rslt;
if (g1 == nullptr || g2 == nullptr) {
rslt = (g1 == nullptr && g2 == nullptr) ? 1 : 0;
- }
+ }
else {
rslt = GEOSEqualsIdentical(g1, g2);
}
report_not_equal("ensure_equals_identical", g1, g2, 1e-12, rslt);
tut::ensure_equals("GEOSEqualsIdentical(g1, g2)", rslt, 1);
- }
+ }
void
ensure_geometry_equals(GEOSGeometry* g1, GEOSGeometry* g2)
-----------------------------------------------------------------------
Summary of changes:
capi/geos_c.h.in | 6 +++---
tests/unit/capi/capi_test_utils.h | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list