Name

ST_3DMakeBox — 创建由两个 3D 点几何图形定义的 BOX3D。

Synopsis

box3d ST_3DMakeBox(geometry point3DLowLeftBottom, geometry point3DUpRightTop);

描述

创建由两个 3D 点几何图形定义的box3d

这个函数支持3D且不会降低z-index。

更改:2.0.0 在之前的版本中,这曾经被称为 ST_MakeBox3D

示例

SELECT ST_3DMakeBox(ST_MakePoint(-989502.1875, 528439.5625, 10),
        ST_MakePoint(-987121.375 ,529933.1875, 10)) As abb3d

--bb3d--
--------
BOX3D(-989502.1875 528439.5625 10,-987121.375 529933.1875 10)