RBushDirect<T> class

A convenient r-tree for working directly with data objects, uncoupling these from bounding boxes. Encapsulates RBush, so for bulk inserts this class still needs a list of RBushElements.

Constructors

RBushDirect([int maxEntries = 9])

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

all() List<T>
clear() → dynamic
collides(RBushBox bbox) bool
insert(RBushBox bbox, T item) → dynamic
knn(double x, double y, int k, {bool predicate(T item)?, double? maxDistance}) List<T>
load(Iterable<RBushElement<T>> items) RBushDirect<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(T? item) → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited