Skip to content

OpenBIMRL | Tree functions

Class path: tree.getTreeNode

Get Tree Node

getTreeNode1.png

Description

Enables tree leaves and partial paths to be read from a tree structure. This allows sub-trees to be interpreted back into a whole tree. Individual values can be read via getLeadValue.

Input

Input Name Typ Description
0 tree Tree The tree from which we read.
1 trace Path/Trace The path to be read.

Output

Output Name Typ Description
0 node Node/Leaf Node at the end of the path.

Use/Example

getTreeNode2.png

Node representation with example values

Sample file