[geos-commits] [SCM] GEOS branch 3.13 updated. 9000984352a8963a1c6e0e121345a6bb07683bd4

git at osgeo.org git at osgeo.org
Tue Jan 14 13:33:40 PST 2025


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, 3.13 has been updated
       via  9000984352a8963a1c6e0e121345a6bb07683bd4 (commit)
      from  2aded42b37187190b236dc1f293b9539a876bb90 (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 9000984352a8963a1c6e0e121345a6bb07683bd4
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Tue Jan 14 13:32:25 2025 -0800

    Fix MaximumInscribedCircle param to const

diff --git a/include/geos/algorithm/construct/MaximumInscribedCircle.h b/include/geos/algorithm/construct/MaximumInscribedCircle.h
index b838a177c..eaa2fb93f 100644
--- a/include/geos/algorithm/construct/MaximumInscribedCircle.h
+++ b/include/geos/algorithm/construct/MaximumInscribedCircle.h
@@ -137,7 +137,7 @@ private:
     geom::CoordinateXY radiusPt;
 
     /* private methods */
-    double distanceToBoundary(geom::Point& pt);
+    double distanceToBoundary(const geom::Point& pt);
     double distanceToBoundary(double x, double y);
     void compute();
 
diff --git a/src/algorithm/construct/MaximumInscribedCircle.cpp b/src/algorithm/construct/MaximumInscribedCircle.cpp
index 7dc85b8c6..a8f83d1be 100644
--- a/src/algorithm/construct/MaximumInscribedCircle.cpp
+++ b/src/algorithm/construct/MaximumInscribedCircle.cpp
@@ -152,7 +152,7 @@ MaximumInscribedCircle::distanceToBoundary(double x, double y)
 
 /* private */
 double
-MaximumInscribedCircle::distanceToBoundary(Point& pt)
+MaximumInscribedCircle::distanceToBoundary(const Point& pt)
 {
     double dist = indexedDistance.distance(&pt);
     // double dist = inputGeomBoundary->distance(pt.get());

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

Summary of changes:
 include/geos/algorithm/construct/MaximumInscribedCircle.h | 2 +-
 src/algorithm/construct/MaximumInscribedCircle.cpp        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list