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
ArrayofCoordinatePathobjects representing the flight path.Declaration
Swift
public var flightPathCoordinates: [CoordinatePath] -
The default initializer.
Declaration
Swift
public init()Return Value
An initialized
FlightPathobject. -
The initializer with all variables.
Declaration
Swift
public init(_ maxDistance: Double, _ flightPath: [CoordinatePath])Parameters
maxDistanceA
Doublerepresenting the maximum distance from the flight path.flightPathAn
ArrayofCoordinatePathobjects representing each leg of the flight path.Return Value
An initialized
FlightPathobject.
FlightPath Structure Reference