ST_MaximumInscribedCircle — Computes the largest circle that is fully contained within a geometry.
(geometry, geometry, double precision) ST_MaximumInscribedCircle(
geometry geom)
;
Finds the largest circle that is fully contained within a geometry. Returns a record with the center point of the circle, a point on the geometry that is nearest to the center, and the radius of the circle.
For polygonal inputs, the circle is inscribed within the external ring, using the internal rings as boundaries. For linear and point inputs, the circle is inscribed within the convex hull of the input, using the input as further boundaries.
Availability: 3.1.0 - requires GEOS >= 3.9.0.