Skip to content

OpenBIMRL | Set functions

Class path: collection.set.getSetIntersection

Intersection

getSetIntersection1.png

Description

Determines the intersection of a set A and a set B. The result set contains all elements from A that are also in B.

Input

Input Name Type Description
0 Set A Set<Object> Set A
1 Set B Set<Object> Set B

Output

Output Name Type Description
0 Set Set<Object> Intersection

Use/Example

getSetIntersection2.png

Node representation with sample values

Sample file

Download of a sample file so that the user can test the usage himself