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.
This method needs SFCGAL backend.
This function supports 3d and will not drop the z-index.
This function supports Polyhedral surfaces.
This function supports Triangles and Triangulated Irregular Network Surfaces (TIN).
SELECT CG_IsSimple('LINESTRING(0 0,2 2,2 0,0 2)'::geometry);
f