コード例 #1
0
        void instalationplan()
        {
            var        flight = new FlightsController();
            Flightplan k      = new Flightplan();

            segments newseg = new segments();

            newseg.setall(22, 22, 2000);
            k.company_name     = "test";
            k.initial_location = new InitialLocation();
            DateTime tt = new DateTime();

            tt = DateTime.Now;
            k.initial_location.setalll(22, 22, tt);
            k.segments = new System.Collections.Generic.List <segments>();
            k.segments.Add(newseg);
            // flightplanmanager.flights.Add(k);
            flightplancontrol.Post(k);
        }
コード例 #2
0
 //Debug.Log("BuildMesh: " + segments.Count);
 CreateShape(segments, width);
コード例 #3
0
 private static (KtSegments2D result, IEnumerable <KtSegments2D> remaining) ConnectToListOfSegments(this KtSegments2D segments, IEnumerable <KtSegments2D> listOfSegments) => (listOfSegments?.Any() != true || segments.IsRegion()) ? (segments, listOfSegments) : ConnectToLeftAndRight(segments, listOfSegments);