Nombre

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

Sinopsis

box3d Box3D(geometry geom);

Descripción

Returns a box3d representing the 3D extent of the geometry.

Mejorado: 2.0.0 se introdujo soporte para superficies poliédricas, Triangulos y TIN.

This method supports Circular Strings and Curves.

This function supports Polyhedral surfaces.

This function supports Triangles and Triangulated Irregular Network Surfaces (TIN).

This function supports 3d and will not drop the z-index.

Ejemplos

Code
SELECT Box3D('LINESTRING(1 2 3,3 4 5,5 6 5)'::geometry);
Output
BOX3D(1 2 3,5 6 5)
Figure
Geometry figure for visual-box3d-01
Code
SELECT Box3D('CIRCULARSTRING(220268 150415 1,220227 150505 1,220227 150406 1)'::geometry);
Output
BOX3D(220186.99512189245 150406 1,220288.24878054656 150506.12682932706 1)
Figure
Geometry figure for visual-box3d-02

Ver también

Box2D, ST_GeomFromEWKT