save
This commit is contained in:
parent
0397dda453
commit
3177b23825
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue