Class: InvertedNodeCollection
@cognite/reveal.InvertedNodeCollection
Node collection that inverts the result from another node collection.
Hierarchy
-
↳
InvertedNodeCollection
Constructors
constructor
• new InvertedNodeCollection(model
, innerSet
)
Parameters
Name | Type |
---|---|
model | CdfModelNodeCollectionDataProvider |
innerSet | NodeCollection |
Overrides
NodeCollection.constructor
Defined in
packages/cad-styling/src/InvertedNodeCollection.ts:21
Properties
classToken
▪ Static
Readonly
classToken: "InvertedNodeCollection"
Defined in
packages/cad-styling/src/InvertedNodeCollection.ts:15
Accessors
classToken
• get
classToken(): string
Returns
string
Inherited from
NodeCollection.classToken
Defined in
packages/cad-styling/src/NodeCollection.ts:23
isLoading
• get
isLoading(): boolean
Returns
boolean
Overrides
NodeCollection.isLoading
Defined in
packages/cad-styling/src/InvertedNodeCollection.ts:32
Methods
clear
▸ clear(): never
Not supported.
throws
Always throws an error.
Returns
never
Overrides
Defined in
packages/cad-styling/src/InvertedNodeCollection.ts:58
getAreas
▸ 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
Overrides
Defined in
packages/cad-styling/src/InvertedNodeCollection.ts:47
getIndexSet
▸ getIndexSet(): IndexSet
Returns
Overrides
Defined in
packages/cad-styling/src/InvertedNodeCollection.ts:36
off
▸ off(event
, listener
): void
Parameters
Name | Type |
---|---|
event | "changed" |
listener | () => void |
Returns
void
Inherited from
Defined in
packages/cad-styling/src/NodeCollection.ts:32
on
▸ on(event
, listener
): void
Parameters
Name | Type |
---|---|
event | "changed" |
listener | () => void |
Returns
void
Inherited from
Defined in
packages/cad-styling/src/NodeCollection.ts:27
serialize
▸ serialize(): SerializedNodeCollection