跳转到内容

GeometryCollection

编辑中。

导入

import { GeometryCollection } from "@tai-kun/surrealdb/decodeonly-datatypes";
import { GeometryCollection } from "@tai-kun/surrealdb/encodable-datatypes";
import { GeometryCollection } from "@tai-kun/surrealdb/standard-datatypes";

.constructor()

创建一个新的 GeometryCollection 对象。

new GeometryCollection(source);

参数

source

编辑中。

返回值

如果通过 new 调用,GeometryCollection 将返回其实例。