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

> Apply right-hand-rule orientation to polygonal components.

Apply right-hand-rule orientation to polygonal components.

This is an alias for `ST_ForcePolygonCW`. Polygonal members of
GeometryCollections are processed recursively, while non-polygonal members
are preserved unchanged.

SQL reference: [`ST_ForceRHR`](/reference/wherobots-db/geometry-data/editors/ST_ForceRHR)

## Signature

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

ST_ForceRHR(geometry: ColumnOrName) -> Column
```

## Parameters

<ParamField path="geometry" type="ColumnOrName" required>
  Geometry column to orient.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Geometry with clockwise polygon exterior rings.
</ResponseField>


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