Name

Box3D — Returns a BOX3D representing the 3D extent of a geometry.

Synopsis

box3d Box3D(geometry geom);

Descrizione

Returns a box3d representing the 3D 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).

Questa funzione supporta il 3d e non distrugge gli z-index.

Esempi

SELECT Box3D(ST_GeomFromEWKT('LINESTRING(1 2 3, 3 4 5, 5 6 5)'));
BOX3D(1 2 3,5 6 5)
SELECT Box3D(ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 1,220227 150406 1)'));
BOX3D(220186.99512189245 150406 1,220288.24878054656 150506.12682932706 1)

Si veda anche

Box2D, ST_GeomFromEWKT