ElectronicHorizonSegment (API Reference)
Class ElectronicHorizonSegment
Represents a segment in an ElectronicHorizonPath.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleThe end offset from the beginning of the most preferred path in meters.intThe index of the parent path.The unique identifier of the segment.The list of indexes of the paths that branch off at the end of this segment.doubleThe start offset from the beginning of the most preferred path in meters. -
Constructor Summary
ConstructorsConstructorDescriptionElectronicHorizonSegment(ElectronicHorizonSegmentId segmentId, int parentPathIndex, double startOffsetInMeters, double endOffsetInMeters) Creates a new instance. -
Method Summary
-
Field Details
-
segmentId
The unique identifier of the segment.
-
parentPathIndex
public int parentPathIndexThe index of the parent path.
-
startOffsetInMeters
public double startOffsetInMetersThe start offset from the beginning of the most preferred path in meters.
-
endOffsetInMeters
public double endOffsetInMetersThe end offset from the beginning of the most preferred path in meters.
-
sidePathIndexes
The list of indexes of the paths that branch off at the end of this segment. The list can be empty when no side paths branch off at this segment.
-
-
Constructor Details
-
ElectronicHorizonSegment
public ElectronicHorizonSegment(@NonNull ElectronicHorizonSegmentId segmentId, int parentPathIndex, double startOffsetInMeters, double endOffsetInMeters) Creates a new instance.
Offline availability: This property is available online and offline.
- Parameters:
segmentId-The unique identifier of the segment.
parentPathIndex-The index of the parent path.
startOffsetInMeters-The start offset from the beginning of the most preferred path in meters.
endOffsetInMeters-The end offset from the beginning of the most preferred path in meters.
-
-
Method Details