-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class EHCurvature implements ParcelableData model representing EH curvature.
Instances are typically immutable after construction. Use builders or factory methods where provided.
-
-
Field Summary
Fields Modifier and Type Field Description private final FloatoffsetFromLinkStartprivate final Integervalue
-
Constructor Summary
Constructors Constructor Description EHCurvature(Float offsetFromLinkStart, Integer value)
-
Method Summary
Modifier and Type Method Description final FloatgetOffsetFromLinkStart()The distance from the start point of the link to the shape point, unit: meter. final IntegergetValue()The curvature value of the shape point, range: 0, 1022. -
-
Method Detail
-
getOffsetFromLinkStart
final Float getOffsetFromLinkStart()
The distance from the start point of the link to the shape point, unit: meter. Default value is Float.MAX_VALUE which indicates invalid value.
-
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.
-
-
-
-