Hi,
I am trying to check the direction of two curves to ensure they are the same. My goal is to flip each curve if X0 > X1, so that they will both be oriented “left to right” with 0 on the left. I am then hoping to check the Z values to ensure the list descends in order of elevation.
I am trying to create a tree of the endpoints [(start,end),(start,end)] in order to compare the X values. I am not entirely sure how the data needs to be structured.
Thanks for any suggestions.
Sort curves.gh (11.8 KB)

