Skip to content

OpenBIMRL | Tree functions

Class path: tree.findTreeTrace

Find Tree Trace

findTreeTrace1.png

Description

Retrieves the path to a specific value. Traverses the entire tree and returns the paths for which an equivalence to the requested value was found.

Input

Input Name Typ Description
0 Baum Tree Input Tree
1 Wert Objekt Value from which the partial path is called up.

Output

Output Name Typ Description
0 Pfad Number[] Partial path

Use/Example

findTreeTrace2.png

Node representation with example values

Sample file