reversedIfClockwise

fun List<Point>.reversedIfClockwise(): List<Point>

Reverses the list if its winding order is clockwise. Useful for ensuring a polygon ring is counter-clockwise (e.g., GeoJSON outer rings).