Hi Guys Actually i have "N" different objects in a 2D Plane and For all those objects i have their boundary points also. As shown in image
i want to find the shortest boundary to boundary distance for all objects as shown
eg.for object 1 shown in image it will be d1. like this for all other objects too. I know one possible way that is by Brut Force but i am looking for good performance .Please let me know if you are aware of any existing algorithm which can do this in optimized way.thanks in advance.