Name

Box2D — Returns a BOX2D representing the 2D extent of a geometry.

Synopsis

box2d Box2D(geometry geom);

Descrizione

Returns a box2d representing the 2D extent of the geometry.

Migliorato: Nella 2.0.0 è stato introdotto il supporto per le superfici poliedriche, i triangoli e i TIN.

Questo metodo supporta le Curve e le Circular String.

Questa funzione supporta le Polyhedral Surface.

Questa funzione supporta i Triangoli e le Triangulated Irregular Network Surfaces (TIN).

Esempi

SELECT Box2D(ST_GeomFromText('LINESTRING(1 2, 3 4, 5 6)'));
BOX(1 2,5 6)
SELECT Box2D(ST_GeomFromText('CIRCULARSTRING(220268 150415,220227 150505,220227 150406)'));
BOX(220186.99512189245 150406,220288.24878054656 150506.12682932706)

Si veda anche

Box3D, ST_GeomFromText