基于给定的两个对角点,构造一个Box3D对象。
语法
box3d  ST_3DMakeBox(geometry  point3DLowLeftBottom , geometry  point3DUpRightTop);参数
参数名称  | 描述  | 
point3DLowLeftBottom  | 左下角点。  | 
point3DUpRightTop  | 右上角点。  | 
描述
该函数支持3D对象,并且不会丢弃Geometry对象的z-index。
示例
SELECT ST_3DMakeBox(ST_MakePoint(115, 39, 10), ST_MakePoint(116, 40, 10));
        st_3dmakebox
----------------------------
 BOX3D(115 39 10,116 40 10)
(1 row)
                该文章对您有帮助吗?