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?
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
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/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
Overrides
CombineNodeCollectionBase
.getAreas
getIndexSet()
getIndexSet():
IndexSet
Defined in: packages/cad-styling/src/CombineNodeCollectionBase.ts:59
Override
Returns
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
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/IntersectionNodeCollection.ts:26