This is a question similar to the one here, but I believe that it would be useful if I could rework it in more general terms.
I have a set of polygons, these polygons can touch each other, overlap and can take any shape. My question, given the list of points, is how to develop an efficient algorithm that finds which polygons are points located?
One of the interesting restrictions on the location of points is that all points are located at the edges of polygons, if that helps.
I understand that r-trees can help , but given that I am making a series of points, is there a more efficient algorithm instead of computing one point for each point?
source
share