Skip to main content
Version: Next

Class: abstract CombineNodeCollectionBase

Node collection that combines the result from multiple underlying node collections.

Extends

Extended by

Constructors

new CombineNodeCollectionBase()

new CombineNodeCollectionBase(classToken, nodeCollections?): CombineNodeCollectionBase

Parameters

classToken: string

nodeCollections?: NodeCollection[]

Returns

CombineNodeCollectionBase

Overrides

NodeCollection.constructor

Defined in

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

Accessors

classToken

Get Signature

get classToken(): string

Returns

string

Inherited from

NodeCollection.classToken

Defined in

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


isLoading

Get Signature

get isLoading(): boolean

Override

Returns

boolean

Overrides

NodeCollection.isLoading

Defined in

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

Methods

add()

add(nodeCollection): void

Parameters

nodeCollection: NodeCollection

Returns

void

Defined in

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


clear()

clear(): void

Clears all underlying node collections.

Returns

void

Overrides

NodeCollection.clear

Defined in

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


getAreas()

abstract 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/CombineNodeCollectionBase.ts:73


getIndexSet()

getIndexSet(): IndexSet

Override

Returns

IndexSet

Overrides

NodeCollection.getIndexSet

Defined in

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


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


remove()

remove(nodeCollection): void

Parameters

nodeCollection: NodeCollection

Returns

void

Defined in

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


serialize()

abstract serialize(): SerializedNodeCollection

Returns

SerializedNodeCollection

Overrides

NodeCollection.serialize

Defined in

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