From 3177b2382553fad2fc07a1b3d124bbb957e130c7 Mon Sep 17 00:00:00 2001 From: codeboss <2422523675@qq.com> Date: Sun, 1 Jun 2025 22:37:46 +0800 Subject: [PATCH] save --- StandardGlobe/standardglobe.cpp | 1 + StandardGlobe/standardglobe.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/StandardGlobe/standardglobe.cpp b/StandardGlobe/standardglobe.cpp index 08b7453..ebba849 100644 --- a/StandardGlobe/standardglobe.cpp +++ b/StandardGlobe/standardglobe.cpp @@ -36,6 +36,7 @@ void StandardGlobe::getDistanceWithin(const LLAPos& base, const LLAPos& target, auto vec_hn = QVector3D::crossProduct(vec_vn, vec_bn).normalized(); // ³õʼ¼Ð½ÇcosÖµ auto cos_angle = QVector3D::dotProduct(vec_hn, QVector3D(0, 0, 1)); + auto angle = acos(cos_angle); } QVector3D ECEFPos::getVec3() const diff --git a/StandardGlobe/standardglobe.h b/StandardGlobe/standardglobe.h index 2ca6182..abeb083 100644 --- a/StandardGlobe/standardglobe.h +++ b/StandardGlobe/standardglobe.h @@ -19,7 +19,7 @@ struct ECEFPos { double _x_pos = 0; double _y_pos = 0; double _z_pos = 0; - QVector3D getVector() const; + QVector3D getVec3() const; }; ///