Class Bearing

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

public class Bearing extends Object implements scala.Product, scala.Serializable
Describing the bearing of a line. The angle is measured clockwise between north and the direction of the line in question. The value is stored in a byte at 8bit resolution, i.e. the integer value can be calculated as follows:

bearingValue = Math.round(bearingInDegrees * 256 / 360)

param: value The angle in 8bit resolution.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Bearing(short value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1)
     
    short
     
    static String
     
    short
     

    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

    • Bearing

      public Bearing(short value)
  • Method Details

    • apply

      public abstract static R apply(T1 v1)
    • toString

      public static String toString()
    • value

      public short value()
    • getValue

      public short getValue()