Documentation ¶
Index ¶
- Variables
- type Options
- type RTree
- func (tr *RTree) Bounds() (min, max [2]float64)
- func (tr *RTree) Count() int
- func (tr *RTree) Insert(item pair.Pair)
- func (tr *RTree) KNN(x, y float64, iter func(item pair.Pair, dist float64) bool) bool
- func (tr *RTree) Load(items []pair.Pair)
- func (tr *RTree) Remove(item pair.Pair)
- func (tr *RTree) SavePNG(path string, width, height int, scale float64, showNodes bool, withGIF bool, ...) error
- func (tr *RTree) Scan(iter func(item pair.Pair) bool) bool
- func (tr *RTree) Search(bbox pair.Pair, iter func(item pair.Pair) bool) bool
- func (tr *RTree) Traverse(iter func(min, max [2]float64, level int, item pair.Pair) bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOptions = &Options{ MaxEntries: 9, Transformer: nil, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.