Quadtreeinit cell_size creates a quadtree with cells not bigger than cell_size elements. rect is use to set the initial bounds. (defaul:(-90., 90.,-180.,180.)) dept is use to bound the depth of the quadtree. (default:15)
val clear : 'a t -> unitclear t clears the quadtree t
The type of instruction to control a fold on a quadtree
Continue keeps foldingStop stop folding, returns the accumulatorNot_deeper width stop folding until the quadtree cell is larger than widthfold t rect f a fold over bindings inside rect. Use instr to control the fold.
val insert : 'a t -> (float * float) -> 'a -> unitinsert t (x,y) v inserts the value v to the key (x,y).
val insert_tailrec : 'a t -> (float * float) -> 'a -> unitSame has above, but tailrec.
val remove : 'a t -> (float * float) -> 'a -> unitremove t (x,y) v remove the bind for keys (x,y) and value v
val depth : 'a t -> intdepth t returns the depth of the quadtree t