case class RelativeGeoCoordinate(longitude: Short, latitude: Short, altitude: Option[Int]) extends Product with 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))
- longitude
Relative longitude in 1E-5 degrees.
- latitude
Relative latitude in 1E-5 degrees.
- altitude
An optional elevation value in meters above sea level.
- Alphabetic
- By Inheritance
- RelativeGeoCoordinate
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RelativeGeoCoordinate(longitude: Short, latitude: Short, altitude: Optional[Int])
- new RelativeGeoCoordinate(longitude: Short, latitude: Short, altitude: Option[Int])
- longitude
Relative longitude in 1E-5 degrees.
- latitude
Relative latitude in 1E-5 degrees.
- altitude
An optional elevation value in meters above sea level.
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
- val altitude: Option[Int]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def getAltitude: Optional[Int]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getLatitude: Short
- def getLongitude: Short
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val latitude: Short
- val longitude: Short
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)