Namn

CG_IsSimple — Tests whether a geometry is simple according to SFCGAL

Synopsis

boolean CG_IsSimple(geometry geom);

Beskrivning

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.

Denna metod behöver SFCGAL-backend.

Denna funktion stöder 3d och kommer inte att tappa z-index.

Denna funktion stöder polyedriska ytor.

Denna funktion stöder trianglar och triangulerade oregelbundna nätverksytor (TIN).

Exempel

Kod
SELECT CG_IsSimple('LINESTRING(0 0,2 2,2 0,0 2)'::geometry);
Utdata
f
Figur
Geometry figure for visual-cg-issimple-01