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

> Check whether geometry a crosses geometry b.

Check whether geometry a crosses geometry b.

SQL reference: [`ST_Crosses`](/reference/wherobots-db/geometry-data/predicates/ST_Crosses)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_predicates import ST_Crosses

ST_Crosses(a: ColumnOrName, b: ColumnOrName) -> Column
```

## Parameters

<ParamField path="a" type="ColumnOrName" required>
  Geometry to check crossing with.
</ParamField>

<ParamField path="b" type="ColumnOrName" required>
  Geometry to check crossing of.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  True if geometry a cross geometry b and False otherwise as a boolean column.
</ResponseField>


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