Segment

public struct Segment : Hashable, Sendable
  • The range of indices of the TrackPoint/trackPoints.

    Declaration

    Swift

    public var range: Range<Int>
  • The distance in meters of the segment.

    Declaration

    Swift

    public var distance: Double
  • Declaration

    Swift

    public init(range: Range<Int>, distance: Double)