I have multiple surfaces and a lot of curves. Now I want to intersect them – but: I must need to know *which* curve did intersect with *which* surface.

In another tree I am storing the endpoints of the curves; here I want to build a matching tree which stores the intersection points.

Any idea? Already lost so much time on it