Versions in this module Expand all Collapse all v0 v0.1.0 Apr 7, 2022 Changes in this version + type QTree struct + func New(min, max [2]float64) *QTree + func (tr *QTree) Bounds() (min, max [2]float64) + func (tr *QTree) Children(parent interface{}, reuse []child.Child) (children []child.Child) + func (tr *QTree) Delete(min, max [2]float64, data interface{}) + func (tr *QTree) Insert(min [2]float64, max [2]float64, data interface{}) + func (tr *QTree) Len() int + func (tr *QTree) Replace(oldMin, oldMax [2]float64, oldData interface{}, newMin, newMax [2]float64, ...) + func (tr *QTree) Scan(iter func(min, max [2]float64, data interface{}) bool) + func (tr *QTree) Search(min, max [2]float64, iter func(min, max [2]float64, data interface{}) bool)