Creates a BasicScan leg object.
Namespace: FlightPlanAssembly: FlightPlanXML (in FlightPlanXML.dll) Versión: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public BasicScan( Stage stg, string id, Waypoint destination, string nextid, string previd, ContingencyList emergency, double dim1, double dim2, double angle, double sep, Nullable<Leg..::..TurnDir> td, Nullable<double> d1, Nullable<double> d2, GPSCoords[] startAt ) |
Visual Basic |
---|
Public Sub New ( _ stg As Stage, _ id As String, _ destination As Waypoint, _ nextid As String, _ previd As String, _ emergency As ContingencyList, _ dim1 As Double, _ dim2 As Double, _ angle As Double, _ sep As Double, _ td As Nullable(Of Leg..::..TurnDir), _ d1 As Nullable(Of Double), _ d2 As Nullable(Of Double), _ startAt As GPSCoords() _ ) |
Visual C++ |
---|
public: BasicScan( Stage^ stg, String^ id, Waypoint^ destination, String^ nextid, String^ previd, ContingencyList^ emergency, double dim1, double dim2, double angle, double sep, Nullable<Leg..::..TurnDir> td, Nullable<double> d1, Nullable<double> d2, array<GPSCoords^>^ startAt ) |
Parameters
- stg
- Type: FlightPlan..::..Stage
Stage the leg belongs to.
- id
- Type: System..::..String
String containing the id of the leg.
- destination
- Type: FlightPlan..::..Waypoint
TBD
- nextid
- Type: System..::..String
String with the id of the next leg or null if this is the last leg of the stage.
- previd
- Type: System..::..String
A String with the id of the previous leg or null if this is the first leg of the stage.
- emergency
- Type: FlightPlan..::..ContingencyList
A FlightPlan that should be followed if an emergency occurs during execution of this leg.
- dim1
- Type: System..::..Double
A Double expressing the length, in meters, of the sides parallel to the line defined by orig and angle.
- dim2
- Type: System..::..Double
A Double expressing the length, in meters, of the sides orthogonal to the line defined by orig and angle.
- angle
- Type: System..::..Double
A Double expressing an azimuth angle in degrees. Together with the initial waypoint determines one of the area of interest sides.
- sep
- Type: System..::..Double
Distance, in meters, between each pass of the scan pattern.
- td
- Type: System..::..Nullable<(Of <(<'Leg..::..TurnDir>)>)>
A Leg..::..TurnDir indicating a turn direction value in case a holding pattern is used for turning when reaching the end of a pass.
- d1
- Type: System..::..Nullable<(Of <(<'Double>)>)>
A Double with the distance between turn centers of the holding pattern.
- d2
- Type: System..::..Nullable<(Of <(<'Double>)>)>
A Double with the diameter of the turn segments.
- startAt
- Type: array<FlightPlan..::..GPSCoords>[]()[][]
A GPSCoords with latitude and longitude of the position, belonging to the generated pattern, where the scan should start.