GraphSpatialIndex<T> constructor

GraphSpatialIndex<T>({
  1. double gridSize = 500.0,
  2. double portSnapDistance = 8.0,
})

Implementation

GraphSpatialIndex({double gridSize = 500.0, this.portSnapDistance = 8.0})
  : _grid = SpatialGrid<SpatialItem>(gridSize: gridSize);