Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package here
    Definition Classes
    com
  • package platform
    Definition Classes
    here
  • package location
    Definition Classes
    platform
  • package inmemory
    Definition Classes
    location
  • package geospatial

    A collection of geospatial components and interfaces that implement different flavors of proximity search.

    A collection of geospatial components and interfaces that implement different flavors of proximity search.

    Note: com.here.platform.location packages use a set of terms to describe different geospatial aspects:

    Coordinates: Cartesian coordinates (x, y[, z]) Geo coordinates: WGS 84 coordinates (latitude, longitude[, elevation]) Point: Geometry element holding coordinates + system specific information (ID, precision, etc.) Geo point: Geospatial element holding geocoordinates + system specific information Node: Topological element of the road network representing a location where multiple manoeuvres are possible, such as before an intersection or where a lane starts/finishes forming/merging. Segment: Topological element of the road network that connects exactly two nodes Any change in attributes along the segment define a new link (sub-segment) Link: Nonbreakable element of a topological segment with a particular set of attributes Attribute: Property of a link, such as its speed limit Vertex: Node in the routing graph, referring to a topological segment Edge: Arc in the routing graph that connects exactly two vertices Incidence graph: Routing graph providing vertices connected to a given edge:

    • its source vertex, which is the tail of the arrow when directed
    • its target vertex, which is the head of the arrow when directed Directed graph: Incidence graph providing edges going out of a given vertex

    Note: WGS84-related functionality works with a reasonable accuracy when latitude is between -85 and +85 degrees.

    Definition Classes
    inmemory
  • AncestorTileResolver
  • DiskTileResolver
  • GeometryTile
  • PackedGeoCoordinate
  • PackedLineString
  • TileId
  • TileResolver
  • TiledProximitySearch
  • VertexProximitySearch

trait PackedLineString extends Serializable

A line string containing PackedGeoCoordinates.

This interface is optimized to avoid allocations when accessing vertex geometries.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PackedLineString
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(idx: Int): PackedGeoCoordinate

    Selects an element by its index in the PackedLineString.

    Selects an element by its index in the PackedLineString.

    idx

    The index to select

    returns

    The element of this PackedLineString at index idx, where 0 indicates the first element

    Annotations
    @throws( classOf[IndexOutOfBoundsException] )
    Exceptions thrown

    java.lang.IndexOutOfBoundsException if idx is not in the interval [0, length)

  2. abstract def cumulativeChunkLengths: StraightLineLengthSeq

    The sum of the length of each segment geometry chunk and the lengths of all previous chunks in a segment's geometry, in meters.

    The sum of the length of each segment geometry chunk and the lengths of all previous chunks in a segment's geometry, in meters.

    For example, consider a line string with three points (two chunks). Assuming the distance between points 0 and 1 is 32 m and the distance between points 1 and 2 is 64 m. Then, the cumulative chunk lengths of this line string would be LengthSeq(32.0, 96.0)

  3. abstract def length: Int

    The length of the PackedLineString.

    The length of the PackedLineString.

    returns

    The number of elements in this PackedLineString

  4. abstract def toIndexedSeq: IndexedSeq[PackedGeoCoordinate]

    Converts this PackedLineString to an indexed sequence.

    Converts this PackedLineString to an indexed sequence.

    returns

    An indexed sequence containing all elements of this PackedLineString

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped