I have this hypothetical case of multiple curves that I need to cull based on whether they intersect with any other curve. To do this I flatten the tree, but then I need to go back to my previous structure. Problem is some items have been culled, and thus the nunberes of items at the start is different than the one at the end. so unflatten tree or match tree cannot be used in this case.
What is the appropriate way to go back to my tree structure?
Thank you.
You want [Member Index]. [Item Index] is an awkward component which doesn’t test for value equality but memory equality. So instead of comparing two numbers to see if they have the same value it compares two numbers to see if they are stored in the same location in memory.
[Item Index] does two things that [Member Index] can’t:
It works on all data types, not just simple ones.
It can differentiate between different instances with the same value.