RTree<E> class
A two dimensional index of data that allows querying by rectangular areas
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
-
add(
List< RTreeDatum< items) → voidE> > -
Adds all
items
to the rtree -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
RTreeDatum< E> item) → void -
Removes
item
from the rtree -
search(
Rectangle< num> searchRect, {bool shouldInclude(E item)?}) → List<RTreeDatum< E> > -
Returns all items whose rectangles overlap
searchRect
IfshouldInclude
is specified, each item will be passed to the method and excluded ifshouldInclude
evaluates to false. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited