> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_MaximumInscribedCircle (Python)

> Finds the largest circle that is contained within a geometry, or which does not overlap any lines and points

Finds the largest circle that is contained within a geometry, or which does not overlap any lines and points

SQL reference: [`ST_MaximumInscribedCircle`](/reference/wherobots-db/geometry-data/processing/ST_MaximumInscribedCircle)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_functions import ST_MaximumInscribedCircle

ST_MaximumInscribedCircle(
    geometry: ColumnOrName,
    tolerance: Optional[ColumnOrNameOrNumber] = None,
) -> Column
```

## Parameters

<ParamField path="geometry" type="ColumnOrName" required>
  Input geometry column.
</ParamField>

<ParamField path="tolerance" type="Optional[ColumnOrNameOrNumber]" default="None">
  Optional search tolerance. Zero uses the per-geometry
  default of `max(width, height) / 1000`.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Row of center point, nearest point and radius
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.