Skip to main content
Version: 3.x

Class: UnionNodeCollection

@cognite/reveal.UnionNodeCollection

Node collection that takes the set union of multiple node collections.

Hierarchy

  • CombineNodeCollectionBase

    UnionNodeCollection

Constructors

constructor

new UnionNodeCollection(nodeCollections?)

Parameters

NameType
nodeCollections?NodeCollection[]

Overrides

CombineNodeCollectionBase.constructor

Defined in

packages/cad-styling/src/UnionNodeCollection.ts:21

Properties

classToken

Static Readonly classToken: "UnionNodeCollection"

Defined in

packages/cad-styling/src/UnionNodeCollection.ts:19

Accessors

classToken

get classToken(): string

Returns

string

Inherited from

CombineNodeCollectionBase.classToken

Defined in

packages/cad-styling/src/NodeCollection.ts:23


isLoading

get isLoading(): boolean

override

Returns

boolean

Inherited from

CombineNodeCollectionBase.isLoading

Defined in

packages/cad-styling/src/CombineNodeCollectionBase.ts:67

Methods

add

add(nodeCollection): void

Parameters

NameType
nodeCollectionNodeCollection

Returns

void

Inherited from

CombineNodeCollectionBase.add

Defined in

packages/cad-styling/src/CombineNodeCollectionBase.ts:26


clear

clear(): void

Clears all underlying node collections.

Returns

void

Inherited from

CombineNodeCollectionBase.clear

Defined in

packages/cad-styling/src/CombineNodeCollectionBase.ts:46


getAreas

getAreas(): AreaCollection

Returns

AreaCollection

Overrides

CombineNodeCollectionBase.getAreas

Defined in

packages/cad-styling/src/UnionNodeCollection.ts:45


getIndexSet

getIndexSet(): IndexSet

override

Returns

IndexSet

Inherited from

CombineNodeCollectionBase.getIndexSet

Defined in

packages/cad-styling/src/CombineNodeCollectionBase.ts:59


off

off(event, listener): void

Parameters

NameType
event"changed"
listener() => void

Returns

void

Inherited from

CombineNodeCollectionBase.off

Defined in

packages/cad-styling/src/NodeCollection.ts:32


on

on(event, listener): void

Parameters

NameType
event"changed"
listener() => void

Returns

void

Inherited from

CombineNodeCollectionBase.on

Defined in

packages/cad-styling/src/NodeCollection.ts:27


remove

remove(nodeCollection): void

Parameters

NameType
nodeCollectionNodeCollection

Returns

void

Inherited from

CombineNodeCollectionBase.remove

Defined in

packages/cad-styling/src/CombineNodeCollectionBase.ts:32


serialize

serialize(): SerializedNodeCollection

Returns

SerializedNodeCollection

Overrides

CombineNodeCollectionBase.serialize

Defined in

packages/cad-styling/src/UnionNodeCollection.ts:25