Package 

Class EHCurvature

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class EHCurvature
     implements Parcelable
                        

    This structure defines the curvature

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Float getOffsetFromLinkStart() The distance from the start point of the link to the shape point, unit: meter.
      final Integer getValue() The curvature value of the shape point, range: 0, 1022.
      • Methods inherited from class android.os.Parcelable

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EHCurvature

        EHCurvature(Float offsetFromLinkStart, Integer value)
    • Method Detail

      • getValue

         final Integer getValue()

        The curvature value of the shape point, range: 0, 1022. 511 indicates straight, 0, 510 indicates right curves, 510, 1022 indicates left curves.