|
@@ -15,16 +15,6 @@ public class AircraftLandSJ : AircraftEntity
|
|
|
{
|
|
|
public bool IsOver;
|
|
|
|
|
|
-
|
|
|
- string wkt = "MULTIPOLYGON(((100.9258 30.0709,100.9650 30.1572,101.0646 30.1685,101.1220 30.1385,101.3326 30.1473,101.3385 30.0816,101.1251 30.0533,100.9602 30.0340,100.9258 30.0709)))";
|
|
|
- double interval = 300;
|
|
|
- int MinLength = 1000;
|
|
|
- double TrueH = 200;
|
|
|
- int JG = 5;
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
public LandSouJiuTask taskContent;
|
|
|
public EquationHelper helper;
|
|
|
public GetNCData getNCData;
|
|
@@ -43,9 +33,9 @@ public class AircraftLandSJ : AircraftEntity
|
|
|
public override void Start()
|
|
|
{
|
|
|
Velocitys = new double[5] { 220, 220, 60, 110, 0 };
|
|
|
- List<double[]> Poly = new List<double[]>();
|
|
|
|
|
|
- List<double[]> route = ContourSearch.ContourSearch1(Poly, interval, MinLength, TrueH, JG, ContourSearch.DemHelper());
|
|
|
+
|
|
|
+ List<double[]> route = ContourSearch.ContourSearch1(taskContent.Poly, taskContent.interval, taskContent.MinLength, taskContent.TrueH, taskContent.JG, ContourSearch.DemHelper());
|
|
|
|
|
|
|
|
|
|