CG_IsSimple — Tests whether a geometry is simple according to SFCGAL
boolean CG_IsSimple(geometry geom);
Returns true if the input geometry is simple according to SFCGAL.
This differs from ST_IsSimple, which checks simplicity through liblwgeom.
Availability: 3.8.0 - requires SFCGAL >= 2.3.0.
该方法需要SFCGAL后端。
该函数支持 3d 并且不会丢失 z-index。
该函数支持多面体曲面。
此函数支持三角形和不规则三角网面 (TIN)。
SELECT CG_IsSimple('LINESTRING(0 0,2 2,2 0,0 2)'::geometry);
f