Skip to content

Commit

Permalink
Format only: drop trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed May 21, 2024
1 parent 5e5fc99 commit 1945569
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions capi/geos_c.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/capi/capi_test_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
}
Expand All @@ -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)
Expand Down

0 comments on commit 1945569

Please sign in to comment.