I have a List of about 200 circles.
A circle has a X- and a Y-Coordinate. All circles have the same radius. The range of the coordinates is amount 800 by 400.
Now all circles get moved (the X and Y coordinate changes).
I have to check whether two circles touch each other. I can calculate the distance between two circles and if this ist lower than the double-radius they collide. But if I do this for 200 circles it would take too much time...
Has somebody an more efficient way to find out which circles are touching?