Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quadtree explanation and C implementation [closed]

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

like image 940
algo-geeks Avatar asked Dec 28 '10 09:12

algo-geeks


1 Answers

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
like image 107
moinudin Avatar answered Sep 17 '22 10:09

moinudin