CG_Orientation — 判斷表面方向
integer CG_Orientation(geometry geom);
integer CG_Orientation(
)
此函數僅適用於多邊形。如果多邊形為逆時針方向,則返回 -1;如果多邊形為順時針方向,則返回 1。
可用性:3.5.0
此方法需要 SFCGAL 後端。
此函數支援 3D 且不會捨棄 z 索引。