开发者

Quadtree explanation and C implementation [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_C百科 Closed 9 years ago.

The community reviewed whether to reopen this question 1 year ago and left it closed:

Original close reason(s) were not resolved

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


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜