OpenBIMRL | Tree functions
Class path: tree.flatten
Flatten
Description
Linearize a tree structure and retrieve values and their tree paths (Path/Trace) as a key.
Input
Input | Name | Typ | Description |
---|---|---|---|
0 | tree | Tree | Input tree |
Output
Output | Name | Typ | Description |
---|---|---|---|
0 | keySet | List | All paths of the tree structure. |
1 | values | List | All values of the tree structure. |