Quadtree explanation and C implementation [closed]

a 夏天 提交于 2019-11-27 16:42:42

问题


Please explain quadtrees and provide simple code (preferably in C) for insertion and searching.


回答1:


Wikipedia has a good article on quadtrees. The quadtree section in these slides is very good.

Here are some C implementations (found via Googling for quadtree c -"c++" -"c#"):

  • http://hyantes.gforge.inria.fr/doc/quadtree_8c-source.html
  • http://xw2k.nist.gov/dads/html/quadtree.html
  • http://www.informatik.uni-ulm.de/acm/Locals/1999/src/quadtree.C


来源:https://stackoverflow.com/questions/4544928/quadtree-explanation-and-c-implementation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!