ST_3DMakeBox

更新时间:2023-08-17 07:34:09

基于给定的两个对角点,构造一个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)
                
  • 本页导读 (1)
  • 语法
  • 参数
  • 描述
  • 示例
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等