Class TiledBoundingBoxSearch
java.lang.Object
com.here.platform.location.inmemory.geospatial.TiledBoundingBoxSearch
- All Implemented Interfaces:
com.here.platform.location.core.geospatial.BoundingBoxSearch<scala.Tuple2<TileId,
SegmentIndex>>
public class TiledBoundingBoxSearch
extends Object
implements com.here.platform.location.core.geospatial.BoundingBoxSearch<scala.Tuple2<TileId,SegmentIndex>>
This is an experimental API. It may be removed or changed from one version to the next.
An implementation of BoundingBoxSearch
for the
indexed segment geometry of the Optimized Map for Location Library, which uses an R-tree
to find segments.
See also GeometryTile
for details on the data format used by this class.
param: tileById Used to retrieve the necessary data for a search param: tileResolver Determines which tiles need to be looked at for a particular search
-
Constructor Summary
ConstructorsConstructorDescriptionTiledBoundingBoxSearch
(scala.Function1<TileId, scala.Option<GeometryTile>> tileById, TileResolver tileResolver) -
Method Summary
Modifier and TypeMethodDescription<BB> scala.collection.Iterator<scala.Tuple2<TileId,
SegmentIndex>> intersecting
(BB boundingBox, BoundingBoxOperations<BB> evidence$1)
-
Constructor Details
-
TiledBoundingBoxSearch
public TiledBoundingBoxSearch(scala.Function1<TileId, scala.Option<GeometryTile>> tileById, TileResolver tileResolver)
-
-
Method Details
-
intersecting
public <BB> scala.collection.Iterator<scala.Tuple2<TileId,SegmentIndex>> intersecting(BB boundingBox, BoundingBoxOperations<BB> evidence$1) - Specified by:
intersecting
in interfacecom.here.platform.location.core.geospatial.BoundingBoxSearch<scala.Tuple2<TileId,
SegmentIndex>>
-