Name

ST_MinimumClearanceLine — Returns the two-point LineString spanning a geometry's minimum clearance.

Synopsis

Geometry ST_MinimumClearanceLine(geometry g);

Descrizione

Returns the two-point LineString spanning a geometry's minimum clearance. If the geometry does not have a minimum clearance, LINESTRING EMPTY is returned.

Eseguito dal modulo GEOS.

Availability: 2.3.0 - requires GEOS >= 3.6.0

Esempi

SELECT ST_AsText(ST_MinimumClearanceLine('POLYGON ((0 0, 1 0, 1 1, 0.5 3.2e-4, 0 0))'));
-------------------------------
LINESTRING(0.5 0.00032,0.5 0)
                  

Si veda anche

ST_MinimumClearance