Right now we have a single method in the BHoM that return a data structure of depth 3 (i.e. List<List<List<>>>):
System.Collections.Generic.List`1[System.Collections.Generic.List`1[System.Collections.Generic.List`1[BH.oM.Dimensional.IElement1D]]] DistributeOutlines(System.Collections.Generic.List`1[System.Collections.Generic.List`1[BH.oM.Dimensional.IElement1D]], Boolean, Double)
There are no methods that take inputs deeper than level 2.
It feels to me that any method that requires inputs/outputs deeper than level 2 is a red-flag for refactoring. In a way this is no different than a Grasshopper script that requires complex data tree structures to work. As always, I can be wrong as I don't know the context of this method.
So my question is: should we refactor DistributeOutlines or should be provide support for deep data structures in the UI ?
Right now we have a single method in the BHoM that return a data structure of depth 3 (i.e.
List<List<List<>>>):There are no methods that take inputs deeper than level 2.
It feels to me that any method that requires inputs/outputs deeper than level 2 is a red-flag for refactoring. In a way this is no different than a Grasshopper script that requires complex data tree structures to work. As always, I can be wrong as I don't know the context of this method.
So my question is: should we refactor
DistributeOutlinesor should be provide support for deep data structures in the UI ?