This commit is contained in:
codeboss 2025-06-01 22:37:46 +08:00
parent 0397dda453
commit 3177b23825
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -19,7 +19,7 @@ struct ECEFPos {
double _x_pos = 0;
double _y_pos = 0;
double _z_pos = 0;
QVector3D getVector() const;
QVector3D getVec3() const;
};
/// <summary>