reversedIfCounterClockwise

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

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