Skip to main content
Version: Next

Abstract Class: CombineNodeCollectionBase

Defined in: packages/cad-styling/src/CombineNodeCollectionBase.ts:12

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

Extends

Extended by

Constructors

Constructor

new CombineNodeCollectionBase(classToken, nodeCollections?): CombineNodeCollectionBase

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

Parameters

classToken

string

nodeCollections?

NodeCollection[]

Returns

CombineNodeCollectionBase

Overrides

NodeCollection.constructor

Accessors

classToken

Get Signature

get classToken(): string

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

Returns

string

Inherited from

NodeCollection.classToken


isLoading

Get Signature

get isLoading(): boolean

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

Override

Returns

boolean

Overrides

NodeCollection.isLoading

Methods

add()

add(nodeCollection): void

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

Parameters

nodeCollection

NodeCollection

Returns

void


clear()

clear(): void

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

Clears all underlying node collections.

Returns

void

Overrides

NodeCollection.clear


getAreas()

abstract getAreas(): AreaCollection

Defined in: packages/cad-styling/src/CombineNodeCollectionBase.ts:73

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

Override

Returns

IndexSet

Overrides

NodeCollection.getIndexSet


off()

off(event, listener): void

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

Parameters

event

"changed"

listener

() => void

Returns

void

Inherited from

NodeCollection.off


on()

on(event, listener): void

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

Parameters

event

"changed"

listener

() => void

Returns

void

Inherited from

NodeCollection.on


remove()

remove(nodeCollection): void

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

Parameters

nodeCollection

NodeCollection

Returns

void


serialize()

abstract serialize(): SerializedNodeCollection

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

Returns

SerializedNodeCollection

Overrides

NodeCollection.serialize