> ## 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_MinimumClearanceLine

This function returns a two-point LineString geometry representing the minimum clearance distance of the input geometry. If the input geometry does not have a defined minimum clearance, such as for single Points or coincident MultiPoints, an empty LineString geometry is returned instead.

<img src="https://mintcdn.com/wherobots/wLm_IRUSNlHZTHJP/images/sql-functions/ST_MinimumClearanceLine/ST_MinimumClearanceLine.svg?fit=max&auto=format&n=wLm_IRUSNlHZTHJP&q=85&s=fe344a08f15eb1f25bf7d8ec601972b2" alt="ST_MinimumClearanceLine" width="500" height="300" data-path="images/sql-functions/ST_MinimumClearanceLine/ST_MinimumClearanceLine.svg" />

## Signatures

```sql theme={"system"}
ST_MinimumClearanceLine(geometry: Geometry)
```

## Parameters

<ParamField body="geometry" type="Geometry" required>
  The input geometry.
</ParamField>

## Return type

<ResponseField type="Geometry">
  The resulting geometry.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_MinimumClearanceLine(
        ST_GeomFromWKT('POLYGON ((65 18, 62 16, 64.5 16, 62 14, 65 14, 65 18))')
)
```

```
LINESTRING (64.5 16, 65 16)
```
