添加了测量界面,并完成功能

This commit is contained in:
hm
2022-06-10 17:21:23 +08:00
parent b0944d3561
commit 13eed26865
19 changed files with 1090 additions and 878 deletions
+2
View File
@@ -207,6 +207,7 @@ void PureProjection::FromCartesianTGeodetic(const double &X, const double &Y, co
}
double PureProjection::courseBetweenLatLng(PointLatLng const & p1, PointLatLng const & p2)
{
double lon1 = p1.Lng() * (M_PI / 180);
double lat1 = p1.Lat() * (M_PI / 180);
double lon2 = p2.Lng() * (M_PI / 180);
@@ -230,6 +231,7 @@ double PureProjection::DistanceBetweenLatLng(PointLatLng const & p1, PointLatLng
double d = R * c;
return d;
}
void PureProjection::offSetFromLatLngs(PointLatLng p1, PointLatLng p2, double &distance, double &bearing)