zusammenfügen2
This commit is contained in:
@@ -115,6 +115,8 @@ class Berechnungen:
|
||||
dY = float(Y2 - Y1)
|
||||
dZ = float(Z2 - Z1)
|
||||
|
||||
schraegstrecke = np.sqrt(dX ** 2 + dY ** 2 + dZ ** 2)
|
||||
|
||||
B = float(dict_koordinaten_erweitert[beobachtung_tachymeter[0]][3])
|
||||
L = float(dict_koordinaten_erweitert[beobachtung_tachymeter[0]][4])
|
||||
|
||||
@@ -129,14 +131,14 @@ class Berechnungen:
|
||||
beobachtsgruppeID_aktuell = beobachtung_tachymeter[3]
|
||||
if beobachtsgruppeID_aktuell == beobachtsgruppeID_vorher:
|
||||
richtung = float(self.Richtung(Azimut, orientierung))
|
||||
liste_azimut_richtungen.append((standpunkt, zielpunkt, Azimut, richtung, Zenitwinkel))
|
||||
liste_azimut_richtungen.append((beobachtsgruppeID_aktuell, standpunkt, zielpunkt, Azimut, richtung, Zenitwinkel, schraegstrecke))
|
||||
|
||||
else:
|
||||
orientierung = Azimut
|
||||
dict_orientierungen[beobachtsgruppeID_aktuell] = orientierung
|
||||
|
||||
richtung = float(self.Richtung(Azimut, orientierung))
|
||||
liste_azimut_richtungen.append((standpunkt, zielpunkt, Azimut, richtung, Zenitwinkel))
|
||||
liste_azimut_richtungen.append((beobachtsgruppeID_aktuell, standpunkt, zielpunkt, Azimut, richtung, Zenitwinkel, schraegstrecke))
|
||||
|
||||
beobachtsgruppeID_vorher = beobachtsgruppeID_aktuell
|
||||
return liste_azimut_richtungen, dict_orientierungen
|
||||
|
||||
Reference in New Issue
Block a user