Skip to main content
Version: 3.x

Class: InvertedNodeCollection

@cognite/reveal.InvertedNodeCollection

Node collection that inverts the result from another node collection.

Hierarchy

Constructors

constructor

new InvertedNodeCollection(model, innerSet)

Parameters

NameType
modelCdfModelNodeCollectionDataProvider
innerSetNodeCollection

Overrides

NodeCollection.constructor

Defined in

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

Properties

classToken

Static Readonly classToken: "InvertedNodeCollection"

Defined in

packages/cad-styling/src/InvertedNodeCollection.ts:15

Accessors

classToken

get classToken(): string

Returns

string

Inherited from

NodeCollection.classToken

Defined in

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


isLoading

get isLoading(): boolean

Returns

boolean

Overrides

NodeCollection.isLoading

Defined in

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

Methods

clear

clear(): never

Not supported.

throws Always throws an error.

Returns

never

Overrides

NodeCollection.clear

Defined in

packages/cad-styling/src/InvertedNodeCollection.ts:58


getAreas

getAreas(): AreaCollection

Returns areas surrounding the nodes in the collection. The areas are boxes in "ThreeJS coordinates". Note that not all implementations supports this.

Returns

AreaCollection

Overrides

NodeCollection.getAreas

Defined in

packages/cad-styling/src/InvertedNodeCollection.ts:47


getIndexSet

getIndexSet(): IndexSet

Returns

IndexSet

Overrides

NodeCollection.getIndexSet

Defined in

packages/cad-styling/src/InvertedNodeCollection.ts:36


off

off(event, listener): void

Parameters

NameType
event"changed"
listener() => void

Returns

void

Inherited from

NodeCollection.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

NodeCollection.on

Defined in

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


serialize

serialize(): SerializedNodeCollection

Returns

SerializedNodeCollection

Overrides

NodeCollection.serialize

Defined in

packages/cad-styling/src/InvertedNodeCollection.ts:51