コード例 #1
0
        public Fuselage()
        {
            //Nose = new Nose();
            CentreFuselage = new CentreFuselage();
            Afterbody      = new Afterbody();

            Diameter = Constants.Defaults.Fuselage.Diameter;

            //Nose.Diameter = Diameter;
            //Nose.NoseLengthDiameterRatio = Constants.Defaults.NoseLengthDiameterRatio;
            //Nose.UpdateSections();

            CentreFuselage.Diameter = Diameter;
            CentreFuselage.Length   = Constants.Defaults.Fuselage.CentreFuselageLength;
            CentreFuselage.UpdateSections();

            Afterbody.Diameter = Diameter;
            Afterbody.AfterbodyLengthDiameterRatio = Constants.Defaults.Fuselage.AfterbodyLengthDiameterRatio;
            Afterbody.UpdateSections();
        }
コード例 #2
0
 public void UpdateSections()
 {
     //Nose.UpdateSections();
     CentreFuselage.UpdateSections();
     Afterbody.UpdateSections();
 }