I’m checking if a list of points exists inside a list of polygons for this I’m using cross product lacing. This works fine if my two lists have only one level. However, if the input lists have more than one level (i.e. list of lists) then I’m not getting the results that I need. I need to check all points of a sub-list with every polygon of the same sub-list.
For this example I have a list containing 4 Sub-list each sub-list with 1 + 6 + 6 + 4 = 17 polygons. Similarly, the point list has the same structure. My result should be a list with 4 Sub-list with 1²+6²+6²+4² = 89 bool values:
I don’t consciously understand the technicality of replication enough to be able to explain it.
The section on Replication and Replication Guides (page 26) in the Design Script Guide might help you understand.
Don’t bother if it doesn’t help clarify though. I’ve never read it myself, but still manage to use it