SpatialIndex class abstract

The basic operations supported by classes implementing spatial index algorithms.

A spatial index typically provides a primary filter for range rectangle queries. A secondary filter is required to test for exact intersection. The secondary filter may consist of other kinds of tests, such as testing other spatial relationships.

@version 1.7

Implementers

Constructors

SpatialIndex()

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

insert(Envelope itemEnv, Object item) → void
Adds a spatial item with an extent specified by the given {@link Envelope} to the index
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(Envelope searchEnv) List
Queries the index for all items whose extents intersect the given search {@link Envelope} Note that some kinds of indexes may also return objects which do not in fact intersect the query envelope.
queryWithVisitor(Envelope searchEnv, ItemVisitor visitor) → void
Queries the index for all items whose extents intersect the given search {@link Envelope}, and applies an {@link ItemVisitor} to them. Note that some kinds of indexes may also return objects which do not in fact intersect the query envelope.
remove(Envelope itemEnv, Object item) bool
Removes a single item from the tree.
toString() String
A string representation of this object.
inherited

Operators

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