ST_IsPolygonCW — Правярае, ці знешнія кальцы па гадзіннікавай, а ўнутраныя - супраць.
boolean ST_IsPolygonCW(geometry geom);
Returns true if all polygonal components of the input geometry use a clockwise orientation for their exterior ring, and a counter-clockwise direction for all interior rings.
Returns true if the geometry has no polygonal components.
|
|
|
Closed linestrings are not considered polygonal components, so you would still get a true return by passing a single closed linestring no matter its orientation. |
|
|
|
Калі ўнутраныя кальцы не процілеглай арыентацыі (супадаюць з знешнім), то і ST_IsPolygonCW, і ST_IsPolygonCCW вернуць false. |
Даступнасць: 2.4.0
This function supports 3d and will not drop the z-index.
This function supports M coordinates.