Skip to main content
Version: 4.x

Class: InvertedNodeCollection

Node collection that inverts the result from another node collection.

Extends

Constructors

new InvertedNodeCollection()

new InvertedNodeCollection(model, innerSet): InvertedNodeCollection

Parameters

model: CdfModelNodeCollectionDataProvider

innerSet: NodeCollection

Returns

InvertedNodeCollection

Overrides

NodeCollection.constructor

Defined in

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

Properties

classToken

readonly static classToken: "InvertedNodeCollection" = '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.

Returns

never

Overrides

NodeCollection . clear

Throws

Always throws an error.

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

event: "changed"

listener

Returns

void

Inherited from

NodeCollection . off

Defined in

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


on()

on(event, listener): void

Parameters

event: "changed"

listener

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