class TiledProximitySearch extends ProximitySearch[(TileId, SegmentIndex)]
An implementation of com.here.platform.location.core.geospatial.ProximitySearch for the indexed segment geometry of the Optimized Map for Location Library, which uses an R-tree to find segments.
It will return one result for each segment chunk that is in range. Thus, the search might return multiple results for a segment.
See also GeometryTile for details on the data format used by this class.
- Alphabetic
- By Inheritance
- TiledProximitySearch
- ProximitySearch
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TiledProximitySearch(tileById: (TileId) ⇒ Option[GeometryTile], tileResolver: DiskTileResolver, projection: GeoProjection)
- tileById
Used to retrieve the necessary data for a search
- tileResolver
Determines which tiles need to be looked at for a particular search
- projection
Used for quickly calculating distances between points. Specifically, the distance between the search center and a segment chunk
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
search[GC](center: GC, radiusInMeters: Double)(implicit arg0: GeoCoordinateOperations[GC]): Iterable[ElementProjection[(TileId, SegmentIndex)]]
Returns all elements within a given distance around a given center.
Returns all elements within a given distance around a given center.
- GC
The type of the search center (WGS84 geocoordinates type)
- center
Search around these geocoordinates
- radiusInMeters
Search inside the circle defined by this radius
- returns
The results that are within
radiusInMeters
ofcenter
, including items on the boundary
- Definition Classes
- TiledProximitySearch → ProximitySearch
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()