Path

open class Path: TimelineItem

Undocumented

  • Undocumented

    Declaration

    Swift

    public static var minimumValidDuration: TimeInterval = 10
  • Undocumented

    Declaration

    Swift

    public static var minimumValidDistance: Double = 10
  • Undocumented

    Declaration

    Swift

    public static var minimumValidSamples = 2
  • Undocumented

    Declaration

    Swift

    public static var minimumKeeperDuration: TimeInterval = 60
  • Undocumented

    Declaration

    Swift

    public static var minimumKeeperDistance: Double = 20
  • Undocumented

    Declaration

    Swift

    public static var minimumValidDataGapDuration: TimeInterval = 30
  • Undocumented

    Declaration

    Swift

    public static var minimumKeeperDataGapDuration: TimeInterval = 60 * 60 * 24
  • Undocumented

    Declaration

    Swift

    public static var maximumModeShiftSpeed = CLLocationSpeed(kmh: 8)
  • Undocumented

    Declaration

    Swift

    open override var isValid: Bool
  • Undocumented

    Declaration

    Swift

    open override var isWorthKeeping: Bool
  • The distance of the path, as the sum of the distances between each sample.

    Declaration

    Swift

    public var distance: CLLocationDistance
  • Undocumented

    Declaration

    Swift

    public var metresPerSecond: CLLocationSpeed
  • Undocumented

    Declaration

    Swift

    public var speed: CLLocationSpeed
  • mps

    Undocumented

    Declaration

    Swift

    public var mps: CLLocationSpeed
  • kph

    Undocumented

    Declaration

    Swift

    public var kph: Double
  • kmh

    Undocumented

    Declaration

    Swift

    public var kmh: Double
  • Undocumented

    Declaration

    Swift

    public var kilometresPerHour: Double
  • mph

    Undocumented

    Declaration

    Swift

    public var mph: Double
  • Undocumented

    Declaration

    Swift

    public var milesPerHour: Double
  • Undocumented

    Declaration

    Swift

    public override func distance(from otherItem: TimelineItem) -> CLLocationDistance?
  • Undocumented

    Declaration

    Swift

    public override func contains(_ location: CLLocation, sd: Double?) -> Bool
  • Undocumented

    Declaration

    Swift

    public func samplesInside(_ visit: Visit) -> Set<LocomotionSample>
  • Undocumented

    Declaration

    Swift

    public func samplesOutside(_ visit: Visit) -> Set<LocomotionSample>
  • The percentage of the path’s distance, duration, and sample count that is contained inside the given visit.

    Declaration

    Swift

    public func percentInside(_ visit: Visit) -> Double
  • Undocumented

    Declaration

    Swift

    public override func maximumMergeableDistance(from otherItem: TimelineItem) -> CLLocationDistance
  • Undocumented

    Declaration

    Swift

    public override func cleanseEdge(with otherPath: Path) -> LocomotionSample?
  • Undocumented

    Declaration

    Swift

    override open func samplesChanged()
  • Declaration

    Swift

    public var description: String