Name

Box3D — 返回表示几何图形的3D范围的BOX3D。

Synopsis

box3d Box3D(geometry geom);

描述

返回一个 方框3d 表示几何图形的3D范围。

增强:2.0.0引入了对多面体曲面、三角形和三角网的支持。

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.

示例

SELECT Box3D(ST_GeomFromEWKT('LINESTRING(1 2 3, 3 4 5, 5 6 5)'));

Box3d
---------
BOX3D(1 2 3,5 6 5)
SELECT Box3D(ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 1,220227 150406 1)'));

Box3d
--------
BOX3D(220227 150406 1,220268 150415 1)

另请参阅

方框2D, ST_GeomFromEWKT