Skip to main content
Version: 4.x

Class: abstract NodeCollection

Abstract class for implementing a set of nodes to be styled.

Extended by

Accessors

classToken

get classToken(): string

Returns

string

Defined in

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


isLoading

get abstract isLoading(): boolean

Returns

boolean

Defined in

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

Methods

clear()

abstract clear(): void

Returns

void

Defined in

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


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

Defined in

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


getIndexSet()

abstract getIndexSet(): IndexSet

Returns

IndexSet

Defined in

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


off()

off(event, listener): void

Parameters

event: "changed"

listener

Returns

void

Defined in

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


on()

on(event, listener): void

Parameters

event: "changed"

listener

Returns

void

Defined in

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


serialize()

abstract serialize(): SerializedNodeCollection

Returns

SerializedNodeCollection

Defined in

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