Beispiel #1
0
 public List<TimeFrame> Run(SetupDTO setupDTO)
 {
     _simulationService.Init(setupDTO.TimeFrame, new InitialConditionsDTO
     {
         AngleBelowHorizontal = setupDTO.AngleBelowHorizontal,
         AngleOfAttack = setupDTO.AngleOfAttack,
         Height = setupDTO.Height,
         Mass = setupDTO.Mass,
         Radius = setupDTO.Radius,
         Velocity = setupDTO.Velocity
     }, setupDTO.VehicleType);
     var output = _simulationService.Run();
     return output;
 }