def method_36_BD(self):
     startPos = self.parametersPanel.pnlFinishPosBD.Point3d
     result, self.dateBD, self.modelBD = DlgMagneticVariationParameters.smethod_0(
         self.dateBD, self.modelBD)
     if self.parametersPanel.pnlFinishPosBD.IsValid() and result:
         self.method_30_BD()
         self.method_31_BD()
 def chbAutoVarBD_clicked(self):
     if (self.parametersPanel.chbAutoVarBD.isChecked()
             and not self.autoVarSet):
         result, self.dateBD, self.modelBD = DlgMagneticVariationParameters.smethod_0(
             self.dateBD, self.modelBD)
         self.parametersPanel.chbAutoVarBD.setChecked(result)
         self.autoVarSet = self.parametersPanel.chbAutoVarBD.isChecked()
     if (self.parametersPanel.chbAutoVarBD.isChecked()):
         self.method_29_BD()
         self.method_30_BD()
     self.method_31_BD()
 def method_32_P(self):
     startPos = self.parametersPanel.pnlStartPosP.Point3d
     result, self.date, self.model = DlgMagneticVariationParameters.smethod_0(
         self.date, self.model)
     if self.parametersPanel.pnlStartPosP.IsValid() and result:
         result, degree, degree1 = self.parametersPanel.pnlStartPosP.method_3(
         )
         result, degree2 = Geo.smethod_7(degree, degree1, Altitude(0),
                                         self.model, self.date)
         if (result):
             degree2 = round(degree2, 2)
             self.parametersPanel.pnlVarStartP.Value = degree2
             try:
                 self.parametersPanel.txtForwardMP.Value = MathHelper.smethod_3(
                     float(self.parametersPanel.txtForwardTP.Value) -
                     degree2)
             except:
                 self.parametersPanel.txtForwardMP.Value = 0.0
             self.method_29_P()