ElectronicHorizonPosition (API Reference)
Class ElectronicHorizonPosition
Provides a position on an electronic horizon path with a reference to the current item in the ElectronicHorizon.
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 TypeFieldDescriptionintThe index of the current path in the list ofElectronicHorizon.paths.intThe index of the segment inside theElectronicHorizonPath.segments.doubleThe offset from the start of the segment in meters. -
Constructor Summary
ConstructorsConstructorDescriptionElectronicHorizonPosition(int pathIndex, int pathSegmentIndex, double pathSegmentOffsetInMeters) Creates a new instance. -
Method Summary
-
Field Details
-
pathIndex
public int pathIndexThe index of the current path in the list of
ElectronicHorizon.paths. -
pathSegmentIndex
public int pathSegmentIndexThe index of the segment inside the
ElectronicHorizonPath.segments. -
pathSegmentOffsetInMeters
public double pathSegmentOffsetInMetersThe offset from the start of the segment in meters.
-
-
Constructor Details
-
ElectronicHorizonPosition
public ElectronicHorizonPosition(int pathIndex, int pathSegmentIndex, double pathSegmentOffsetInMeters) Creates a new instance.
Offline availability: This property is available online and offline.
- Parameters:
pathIndex-The index of the current path in the list of
ElectronicHorizon.paths.pathSegmentIndex-The index of the segment inside the
ElectronicHorizonPath.segments.pathSegmentOffsetInMeters-The offset from the start of the segment in meters.
-
-
Method Details