protected double NextStartUT(BaseTrajectory old, double dUT, double offset, double forward_step) { var StartUT = old.StartUT + dUT; if (StartUT - VSL.Physics.UT - old.ManeuverDuration < offset) { StartUT += forward_step; } return(StartUT); }
protected double AngleDelta2StartUT(BaseTrajectory old, double angle, double offset, double forward_step, double period) { return(NextStartUT(old, angle / 360 * period, offset, forward_step)); }