Hi there :)
I’m building a simple drawing interface, for the moment I just created a way to draw shapes :
by pressing the left button I draw points in the renderer, then connect them (with the connect node) and draw lines from these connection.
I have two question about created shapes :
Is it possible to detect if a shapes is drew inside or
outside another (or both) ?
also, is it possible to detect intersection points between 2 shapes ?
In fact, I’ve found out the topic about detection of intersection point between 2 straight lines, but here it isn’t straight lines but shapes visually made of segment (and not vectors) so when I try the 2LineIntersectionPoint node, it return lots of point outside of shapes (cause it find intersection of vectors)
So a way should be to convert line output into points (and then compare all points form both of the shapes to find same points) but I didn’t find out how to do that .
so Does anyone know how to convert line into point (with their values) ?
If somebody has an idea, please tell me ^^