I have two data sets, a group of four curves populating above an organic mesh.

For collision analysis, I have found which curves intersect with the mesh.

I would further like to cull all the braches (/paths?), if any of the curve has an intersection with mesh.

In other words, removing all the curve groups if any of the curve intersects.

This how my datatree looks for curves (left), intersection points(right)

Would anyone have some leads?