> ## 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_DelaunayTriangles (Python)

> Computes the Delaunay Triangles of the vertices of the input geometry.

Computes the Delaunay Triangles of the vertices of the input geometry.

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

## Signature

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

ST_DelaunayTriangles(
    geometry: ColumnOrName,
    tolerance: Optional[Union[ColumnOrName, float]] = None,
    flag: Optional[Union[ColumnOrName, int]] = None,
) -> Column
```

## Parameters

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

<ParamField path="tolerance" type="Optional[Union[ColumnOrName, float]]" default="None" />

<ParamField path="flag" type="Optional[Union[ColumnOrName, int]]" default="None">
  Selects the output type
</ParamField>

## Returns

<ResponseField name="return" type="ColumnOrName">
  Delaunay triangles of the input geometry
</ResponseField>


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