Skip to main content
Version: Next

Class: InvertedNodeCollection

Defined in: packages/cad-styling/src/InvertedNodeCollection.ts:14

Node collection that inverts the result from another node collection.

Extends​

Constructors​

Constructor​

new InvertedNodeCollection(model, innerSet): InvertedNodeCollection

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

Parameters​

model​

CdfModelNodeCollectionDataProvider

innerSet​

NodeCollection

Returns​

InvertedNodeCollection

Overrides​

NodeCollection.constructor

Properties​

classToken​

readonly static classToken: "InvertedNodeCollection" = 'InvertedNodeCollection'

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

Accessors​

classToken​

Get Signature​

get classToken(): string

Defined in: packages/cad-styling/src/NodeCollection.ts:24

Returns​

string

Inherited from​

NodeCollection.classToken


isLoading​

Get Signature​

get isLoading(): boolean

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

Returns​

boolean

Overrides​

NodeCollection.isLoading

Methods​

clear()​

clear(): never

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

Not supported.

Returns​

never

Throws​

Always throws an error.

Overrides​

NodeCollection.clear


getAreas()​

getAreas(): AreaCollection

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

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


getIndexSet()​

getIndexSet(): IndexSet

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

Returns​

IndexSet

Overrides​

NodeCollection.getIndexSet


off()​

off(event, listener): void

Defined in: packages/cad-styling/src/NodeCollection.ts:33

Parameters​

event​

"changed"

listener​

() => void

Returns​

void

Inherited from​

NodeCollection.off


on()​

on(event, listener): void

Defined in: packages/cad-styling/src/NodeCollection.ts:28

Parameters​

event​

"changed"

listener​

() => void

Returns​

void

Inherited from​

NodeCollection.on


serialize()​

serialize(): SerializedNodeCollection

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

Returns​

SerializedNodeCollection

Overrides​

NodeCollection.serialize