Class BoundingBoxSearches
java.lang.Object
com.here.platform.location.integration.optimizedmap.geospatial.javadsl.BoundingBoxSearches
This is an experimental API. It may be removed or changed from one version to the next.
-
Constructor Summary
ConstructorsConstructorDescriptionBoundingBoxSearches
(OptimizedMapLayers optimizedMap) Creates aBoundingBoxSearches
from an Optimized Map for Location Library. -
Method Summary
Modifier and TypeMethodDescription<BB extends BoundingBoxHolder>
BoundingBoxSearch<BB,Vertex> vertices()
Creates aBoundingBoxSearch
.<BB> BoundingBoxSearch<BB,
Vertex> vertices
(BoundingBoxAdapter<BB> adapter) Creates aBoundingBoxSearch
using aBoundingBoxAdapter
.static <BB extends BoundingBoxHolder>
BoundingBoxSearch<BB,Vertex> vertices
(GeometryLayer geometryLayer) Creates aBoundingBoxSearch
.static <BB> BoundingBoxSearch<BB,
Vertex> vertices
(GeometryLayer geometryLayer, BoundingBoxAdapter<BB> adapter) Creates aBoundingBoxSearch
using aBoundingBoxAdapter
.
-
Constructor Details
-
BoundingBoxSearches
Creates aBoundingBoxSearches
from an Optimized Map for Location Library.
-
-
Method Details
-
vertices
Creates aBoundingBoxSearch
.Use this overload of the method when the bounding box type implements
BoundingBoxHolder
. -
vertices
Creates aBoundingBoxSearch
using aBoundingBoxAdapter
.Use this overload of the method when the bounding box type does not implement
BoundingBoxHolder
. -
vertices
public static <BB extends BoundingBoxHolder> BoundingBoxSearch<BB,Vertex> vertices(GeometryLayer geometryLayer) Creates aBoundingBoxSearch
.Use this overload of the method when the bounding box type implements
BoundingBoxHolder
.- Parameters:
geometryLayer
- The geometry layer
-
vertices
public static <BB> BoundingBoxSearch<BB,Vertex> vertices(GeometryLayer geometryLayer, BoundingBoxAdapter<BB> adapter) Creates aBoundingBoxSearch
using aBoundingBoxAdapter
.Use this overload of the method when the bounding box type does not implement
BoundingBoxHolder
.- Parameters:
geometryLayer
- The geometry layeradapter
- Adapter to extract latitudes and longitudes for BB
-