-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class EHCurvature implements Parcelable
This structure defines the curvature
-
-
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.
-
-
-
-