flatbush_dart library

Classes

Flatbush<CoordinateArrayType extends TypedData, CoordinateNumberType extends num>
Fast spatial index for 2D points and rectangles.
Geoflatbush
Wrapper around Flatbush to provide geographical kNN search on the index, using the around method which accounts for the curvature of the earth.

Typedefs

DataBufferConstructor = ByteBuffer Function(int length)
Constructor for a byte buffer of given length.
FlatbushFilter = bool Function(ItemIdx index)
A function that filters the results of a search based on the index of the item.
ItemIdx = int
The index of an item as returned by Flatbush.add when the item is added to the index.