Storing objects for locating by x,y coordinates

后端 未结 6 1567
失恋的感觉
失恋的感觉 2020-12-01 09:30

I\'m trying to determine a fast way of storing a set of objects, each of which have an x and y coordinate value, such that I can quickly retrieve all objects within a certai

6条回答
  •  心在旅途
    2020-12-01 10:17

    Simple QuadTree implementation in C# (easy to translate into java) http://www.codeproject.com/KB/recipes/QuadTree.aspx

提交回复
热议问题