Class RelativeGeoCoordinate

java.lang.Object
com.here.platform.location.tpeg2.olr.RelativeGeoCoordinate
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Serializable

public class RelativeGeoCoordinate extends Object implements scala.Product, scala.Serializable
A RelativeGeoCoordinate is used to represent a geocoordinate in terms of a previous position, e.g. to describe a path in a space-efficient way. The resolution of the relative coordinates is 1E-5 degrees. The integer representation can be calculated as follows from double coordinates in degrees: relativeAngle = Math.round(100000 * (currentAngle - previousAngle))

param: longitude Relative longitude in 1E-5 degrees. param: latitude Relative latitude in 1E-5 degrees. param: altitude An optional elevation value in meters above sea level.

See Also:
  • Constructor Details

    • RelativeGeoCoordinate

      public RelativeGeoCoordinate(short longitude, short latitude, scala.Option<Object> altitude)
    • RelativeGeoCoordinate

      public RelativeGeoCoordinate(short longitude, short latitude, Optional<Object> altitude)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3)
    • toString

      public static String toString()
    • longitude

      public short longitude()
    • latitude

      public short latitude()
    • altitude

      public scala.Option<Object> altitude()
    • getLongitude

      public short getLongitude()
    • getLatitude

      public short getLatitude()
    • getAltitude

      public Optional<Object> getAltitude()