ElectronicHorizonPathSegment
public struct ElectronicHorizonPathSegment : Hashable
Element of the path inside the 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.
-
Unique identifier of the segment.
Declaration
Swift
public var segmentId: ElectronicHorizonPathSegmentId -
Index of parent Path in the
ElectronicHorizonPaths.Declaration
Swift
public var parentPathIndex: Int32 -
Start offset from the beginning of the most preferred path in meters.
Declaration
Swift
public var startOffsetInMeters: Double -
End offset from the beginning of the most preferred path.
Declaration
Swift
public var endOffsetInMeters: Double -
Indexes of the paths branching off at the end of this segment.
Declaration
Swift
public var sidePathIndexes: [Int32] -
Creates a new instance.
Declaration
Swift
public init(segmentId: ElectronicHorizonPathSegmentId, parentPathIndex: Int32, startOffsetInMeters: Double, endOffsetInMeters: Double, sidePathIndexes: [Int32] = [])