modify 2023-04-08

master
冯冬卫 1 year ago
parent 419bd20092
commit 4702132c18

@ -470,7 +470,7 @@ class MainWindow(QMainWindow):
ang_2 = np.arccos(np.dot(direct2, np.array(([0, 1, 0]))) / np.linalg.norm(direct2)) / np.pi * 180
ang_3 = np.arccos(np.dot(direct3, np.array(([0, 0, 1]))) / np.linalg.norm(direct3)) / np.pi * 180
if self.over_view==1:
ax.view_init(elev=90, azim=0) # 俯视图
ax.view_init(elev=90, azim=-90) # 俯视图
print(np.dot(direct1,direct2), ang_1, ang_2, ang_3)
# 标注长短轴

Loading…
Cancel
Save