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.

    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.

    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.

    maxDistanceToNearestNM

    Max distance to the nearest turbulence inside the cluster.