Class: I3SNode

I3SNode

new I3SNode()

此类实现了一个I3S节点。每个I3SNode创建一个Cesium3DTile。 请勿直接构造此类,而是通过I3SLayer访问。

Members

readonly childrenArray.<I3SNode>

获取子节点。

readonly dataobject

获取该对象的 I3S 数据。

readonly featureDataArray.<I3SFeature>

获取特征集合。

readonly fieldsArray.<I3SField>

获取字段集合。

readonly geometryDataArray.<I3SGeometry>

获取几何体集合。

readonly layerI3SLayer

获取父图层。

readonly parentI3SNode undefined

获取父节点。

readonly resourceResource

获取节点的资源。

readonly tileCesium3DTile

获取此节点的 Cesium3DTile。

Methods

getFieldsForFeature(featureIndex){object}

返回给定要素的字段

Name Type Description
featureIndex number

获取属性的要素的索引

Returns:
Type Description
object 包含字段名称及其值的对象

getFieldsForPickedPosition(pickedPosition){object}

返回指定选取位置的字段。

Name Type Description
pickedPosition Cartesian3

选中的位置。

Returns:
Type Description
object 包含字段名称及其值的对象。

loadField(name){Promise.<void>}

加载节点字段。

Name Type Description
name string

字段名称。

Returns:
Type Description
Promise.<void> 加载 I3S 节点字段时解析的Promise。

loadFields(){Promise.<void>}

加载节点字段。

Returns:
Type Description
Promise.<void> 加载 I3S 节点字段时解析的Promise。

Type Definitions

AttributeFilterobject

由属性名称和值指定的过滤器。 如果3D要素对象的属性名称未在值集合中指定,则应隐藏该对象

Properties:
Name Type Description
name string

属性名称。

values Array.<string> | Array.<number>

值的集合。