I3SNode

internal constructor new Ditap.I3SNode()

This class implements an I3S Node. In CesiumJS each I3SNode creates a Cesium3DTile.

Do not construct this directly, instead access tiles through I3SLayer.

Members

readonly children : Array.<I3SNode>

Gets the children nodes.

readonly data : object

Gets the I3S data for this object.

readonly featureData : Array.<I3SFeature>

Gets the collection of features.

readonly fields : Array.<I3SField>

Gets the collection of fields.

readonly geometryData : Array.<I3SGeometry>

Gets the collection of geometries.

readonly layer : I3SLayer

Gets the parent layer.

readonly parent : I3SNode|undefined

Gets the parent node.

readonly resource : Resource

Gets the resource for the node.

readonly tile : Cesium3DTile

Gets the Cesium3DTile for this node.

Methods

getFieldsForFeature(featureIndex)object

Returns the fields for a given feature
Name Type Description
featureIndex number Index of the feature whose attributes we want to get
Returns:
Object containing field names and their values

getFieldsForPickedPosition(pickedPosition)object

Returns the fields for a given picked position
Name Type Description
pickedPosition Cartesian3 The picked position
Returns:
Object containing field names and their values

loadFields()Promise.<void>

Loads the node fields.
Returns:
A promise that is resolved when the I3S Node fields are loaded