getEjectionAngle() public static method

Gets the ejection angle of the current maneuver node.
public static getEjectionAngle ( Orbit o, double nodeUT ) : double
o Orbit
nodeUT double Kerbal Spece Program Universal Time.
return double
示例#1
0
 // debugging function
 private void drawEAngle()
 {
     // Ejection angle
     if (options.showEAngle)
     {
         String eangle = "n/a";
         if (FlightGlobals.ActiveVessel.orbit.referenceBody.name != "Sun")
         {
             eangle = NodeTools.getEjectionAngle(FlightGlobals.ActiveVessel.orbit, curState.currentUT()).ToString("0.##") + "°";
         }
         GUIParts.drawDoubleLabel("Ejection Angle:", 100, eangle, 130);
     }
 }