ElectronicHorizonSegment
public struct ElectronicHorizonSegment : Hashable
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.
-
The unique identifier of the segment.
Declaration
Swift
public var segmentId: ElectronicHorizonSegmentId -
The index of the parent path.
Declaration
Swift
public var parentPathIndex: Int32 -
The start offset from the beginning of the most preferred path in meters.
Declaration
Swift
public var startOffsetInMeters: Double -
The end offset from the beginning of the most preferred path in meters.
Declaration
Swift
public var endOffsetInMeters: Double -
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.
Declaration
Swift
public var sidePathIndexes: [Int32] -
Creates a new instance.
Offline availability: This property is available online and offline.
Declaration
Swift
public init(segmentId: ElectronicHorizonSegmentId, parentPathIndex: Int32, startOffsetInMeters: Double, endOffsetInMeters: Double, sidePathIndexes: [Int32] = [])