数据仓库服务 GAUSSDB(DWS)-几何类型转换函数:box(circle)

时间:2024-12-06 15:12:46

box(circle)

描述:将圆转换成矩形。

返回类型:box

示例:

1
2
3
4
5
SELECT box(circle '((0,0),2.0)') AS RESULT;
                                  result                                   
---------------------------------------------------------------------------
 (1.41421356237309,1.41421356237309),(-1.41421356237309,-1.41421356237309)
(1 row)
support.huaweicloud.com/sqlreference-910-dws/dws_06_0316.html