FlightPath
public struct FlightPath : Codable
The total flight path.
The flight path containing all legs of the flight. The CoordinatePath
objects are arranged in ascending order of leg numbers.
-
The maximum distance from the flight path in miles.
Declaration
Swift
public var maxDistanceInMiles: Double
-
An
Array
ofCoordinatePath
objects representing the flight path.Declaration
Swift
public var flightPathCoordinates: [CoordinatePath]
-
The default initializer.
Declaration
Swift
public init()
Return Value
An initialized
FlightPath
object. -
The initializer with all variables.
Declaration
Swift
public init(_ maxDistance: Double, _ flightPath: [CoordinatePath])
Parameters
maxDistance
A
Double
representing the maximum distance from the flight path.flightPath
An
Array
ofCoordinatePath
objects representing each leg of the flight path.Return Value
An initialized
FlightPath
object.