Class: UnionNodeCollection
Defined in: packages/cad-styling/src/UnionNodeCollection.ts:16
Node collection that takes the set union of multiple node collections.
Extends
Constructors
Constructor
new UnionNodeCollection(
nodeCollections?
):UnionNodeCollection
Defined in: packages/cad-styling/src/UnionNodeCollection.ts:21
Parameters
nodeCollections?
Returns
UnionNodeCollection
Overrides
CombineNodeCollectionBase
.constructor
Properties
classToken
readonly
static
classToken:"UnionNodeCollection"
='UnionNodeCollection'
Defined in: packages/cad-styling/src/UnionNodeCollection.ts:19
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
Returns
void
Inherited from
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/UnionNodeCollection.ts:45
Returns areas surrounding the nodes in the collection. The areas are boxes in "ThreeJS coordinates". Note that not all implementations supports this.
Returns
Overrides
CombineNodeCollectionBase
.getAreas
getIndexSet()
getIndexSet():
IndexSet
Defined in: packages/cad-styling/src/CombineNodeCollectionBase.ts:59
Override
Returns
Inherited from
CombineNodeCollectionBase
.getIndexSet
off()
off(
event
,listener
):void
Defined in: packages/cad-styling/src/NodeCollection.ts:32
Parameters
event
"changed"
listener
() => void
Returns
void
Inherited from
on()
on(
event
,listener
):void
Defined in: packages/cad-styling/src/NodeCollection.ts:27
Parameters
event
"changed"
listener
() => void
Returns
void
Inherited from
remove()
remove(
nodeCollection
):void
Defined in: packages/cad-styling/src/CombineNodeCollectionBase.ts:32
Parameters
nodeCollection
Returns
void
Inherited from
CombineNodeCollectionBase
.remove
serialize()
serialize():
SerializedNodeCollection
Defined in: packages/cad-styling/src/UnionNodeCollection.ts:25