Class RelativeGeoCoordinate
java.lang.Object
com.here.platform.location.tpeg2.olr.RelativeGeoCoordinate
- All Implemented Interfaces:
Serializable
,scala.Equals
,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 Summary
ConstructorsConstructorDescriptionRelativeGeoCoordinate
(short longitude, short latitude, Optional<Object> altitude) RelativeGeoCoordinate
(short longitude, short latitude, scala.Option<Object> altitude) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
-
Constructor Details
-
RelativeGeoCoordinate
-
RelativeGeoCoordinate
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3) -
toString
-
longitude
public short longitude() -
latitude
public short latitude() -
altitude
-
getLongitude
public short getLongitude() -
getLatitude
public short getLatitude() -
getAltitude
-