Options

public struct Options

Parameters for grouping turbulence into clusters.

  • When the distance from turbulence to any turbulence in an existing cluster is greater it will be moved to another or a new cluster. Measured in nautical miles (NM). By default it is 60.

    Declaration

    Swift

    public let maxDistanceNM: Double
  • When the distance from turbulence to the nearest turbulence in an existing cluster is greater it will be moved to another or a new cluster. Measured in nautical miles (NM). By default it is 30.

    Declaration

    Swift

    public let maxDistanceToNearestNM: Double
  • Default initializer.

    Declaration

    Swift

    public init(maxDistanceNM: Double = 60,
                maxDistanceToNearestNM: Double = 30)

    Parameters

    maxDistanceNM

    Max distance to any turbulence inside the cluster. Measured in nautical miles (NM). By default it is 60.

    maxDistanceToNearestNM

    Max distance to the nearest turbulence inside the cluster. Measured in nautical miles (NM). By default it is 30.