RandomAccessCollection

public extension RandomAccessCollection where Element == Coordinate, Index == Int

Available where Element == Coordinate, Index == Int

  • Declaration

    Swift

    func smoothedElevation(sampleCount: Int = 5) -> [Element]
  • Returns true if the distance between the first and the last is less than 50 meters. Returns false for empty collections.

    Declaration

    Swift

    var isLap: Bool { get }