package aliases
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
In memory indexes
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.0.5.tar.gz
sha256=34ef64e283322a6fa1e843efa7565c56035165c0efde1dbd7bf1f6ff104661d1
md5=d844a5c9fe0a06abfcc600a0085f45f6
doc/aliases.quadtree/Quadtree/index.html
Module Quadtree
init 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
Continuekeeps foldingStopstop folding, returns the accumulatorNot_deeper widthstop folding until the quadtree cell is larger thanwidth
fold 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>