public void CalcResultLd(double lambda0, double x, double y, double z, double vx, double vy, double vz, ConstLaunch launchFsx, double h_end, out FallPoint fallPoint, out double fallTime, out double distance) { CalculateOutput output = calc_target_ld(lambda0, x, y, z, vx, vy, vz, launchFsx, h_end); fallPoint = new FallPoint { x = output.t_z, y = output.t_x }; distance = output.t_range; fallTime = output.flighttime; }
public void CalcResultYc(double latitude, double longitudey, double height, double speedEast, double speedNorth, double speedSky, ConstLaunch launchFsx, double h_end, out FallPoint fallPoint, out double fallTime, out double distance, out double x, out double y, out double z, out double vx, out double vy, out double vz) { CalculateOutput output = calc_target_yc(latitude, longitudey, height, speedEast, speedNorth, speedSky, launchFsx, h_end); fallPoint = new FallPoint { x = output.t_z, y = output.t_x }; distance = output.t_range; fallTime = output.flighttime; x = output.x; y = output.y; z = output.z; vx = output.vx; vy = output.vy; vz = output.vz; }