本文整理汇总了C#中Vessel.DragCubeCoefForward方法的典型用法代码示例。如果您正苦于以下问题:C# Vessel.DragCubeCoefForward方法的具体用法?C# Vessel.DragCubeCoefForward怎么用?C# Vessel.DragCubeCoefForward使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Vessel
的用法示例。
在下文中一共展示了Vessel.DragCubeCoefForward方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: PreflightInfo
string PreflightInfo(Vessel vessel)
{
string info;
info = string.Format("Drag area {0:0.00}", vesselState.areaDrag);
info += string.Format("\nDrag coefficient {0:0.00}", vesselState.dragCoef);
info += string.Format("\nDrag coefficient fwd {0:0.00}", vessel.DragCubeCoefForward());
info += string.Format("\nMass {0:0.00}", vesselState.mass);
DragRatio.value = vesselState.areaDrag/vesselState.mass;
info += string.Format("\narea/mass {0:0.00}", DragRatio.value);
info += string.Format("\nGuess TWR {0:0.00}", TWRWeightedAverage(2 * vessel.mainBody.GeeASL * DestinationHeight,vessel));
info += string.Format("\nPitch {0:0.00}", vessel.Pitch());
info += string.Format("\nTimeToDesiredAP {0:0.00}", Calculations.TimeToReachAP(vesselState, vesselState.speedVertical, HoldAPTime));
return info;
}