Skip to main content
Version: Next

Class: IntersectionNodeCollection

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

Node collection that is the intersection between a set of underlying node collections.

Extends

Constructors

Constructor

new IntersectionNodeCollection(nodeCollections?): IntersectionNodeCollection

Defined in: packages/cad-styling/src/IntersectionNodeCollection.ts:22

Parameters

nodeCollections?

NodeCollection[]

Returns

IntersectionNodeCollection

Overrides

CombineNodeCollectionBase.constructor

Properties

classToken

readonly static classToken: "IntersectionNodeCollection" = 'IntersectionNodeCollection'

Defined in: packages/cad-styling/src/IntersectionNodeCollection.ts:20

Accessors

classToken

Get Signature

get classToken(): string

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

Returns

string

Inherited from

CombineNodeCollectionBase.classToken


isLoading

Get Signature

get isLoading(): boolean

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

Override

Returns

boolean

Inherited from

CombineNodeCollectionBase.isLoading

Methods

add()

add(nodeCollection): void

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

Parameters

nodeCollection

NodeCollection

Returns

void

Inherited from

CombineNodeCollectionBase.add


clear()

clear(): void

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

Clears all underlying node collections.

Returns

void

Inherited from

CombineNodeCollectionBase.clear


getAreas()

getAreas(): AreaCollection

Defined in: packages/cad-styling/src/IntersectionNodeCollection.ts:52

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

CombineNodeCollectionBase.getAreas


getIndexSet()

getIndexSet(): IndexSet

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

Override

Returns

IndexSet

Inherited from

CombineNodeCollectionBase.getIndexSet


makeDirty()

makeDirty(): void

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

Returns

void

Overrides

CombineNodeCollectionBase.makeDirty


off()

off(event, listener): void

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

Parameters

event

"changed"

listener

() => void

Returns

void

Inherited from

CombineNodeCollectionBase.off


on()

on(event, listener): void

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

Parameters

event

"changed"

listener

() => void

Returns

void

Inherited from

CombineNodeCollectionBase.on


remove()

remove(nodeCollection): void

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

Parameters

nodeCollection

NodeCollection

Returns

void

Inherited from

CombineNodeCollectionBase.remove


serialize()

serialize(): SerializedNodeCollection

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

Returns

SerializedNodeCollection

Overrides

CombineNodeCollectionBase.serialize