Skip to content

Commit

Permalink
Fix MaximumInscribedCircle param to const
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Jan 14, 2025
1 parent 919bd44 commit db50ec0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/geos/algorithm/construct/MaximumInscribedCircle.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class GEOS_DLL MaximumInscribedCircle {
geom::CoordinateXY radiusPt;

/* private methods */
double distanceToBoundary(geom::Point& pt);
double distanceToBoundary(const geom::Point& pt);
double distanceToBoundary(double x, double y);
void compute();

Expand Down
2 changes: 1 addition & 1 deletion src/algorithm/construct/MaximumInscribedCircle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit db50ec0

Please sign in to comment.