point

语法

point(X, Y)

参数

XY 是数值型的标量、数据对、向量或矩阵,支持的数据类型为Integral类(compress、INT128除外)和Floating类。

详情

生成一个POINT类型的数据,用来存储坐标系中点的位置。

POINT类型数据长度为16字节,其中低8位的数据存储于X中,高8位的数据存储于Y中。

例子

$ point(117.60972, 24.118418)
(117.60972, 24.118418)

$ point(1..5,6..10)

0

1

2

3

4

(1.0, 6.0)

(2.0, 7.0)

(3.0, 8.0)

(4.0, 9.0)

(5.0, 10.0)