tmp
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
* Also add information on how to contact you by electronic and paper mail.
|
||||
******************************************************/
|
||||
|
||||
#include "../lib/geometry.h"
|
||||
#include "gctl/math.h"
|
||||
|
||||
using namespace gctl;
|
||||
|
||||
@@ -60,7 +60,7 @@ int main(int argc, char const *argv[]) try
|
||||
std::cout << "Geocentric: " << ps << std::endl;
|
||||
// 转换为大地坐标
|
||||
point3ds pd;
|
||||
ellip.xyz2geodetic(ps.s2c(), pd.lon, pd.lat, pd.rad);
|
||||
ellip.xyz2geodetic(s2c(ps), pd.lon, pd.lat, pd.rad);
|
||||
std::cout << "Geodetic: " << pd << std::endl;
|
||||
// 400km高
|
||||
pd.rad = 400000.0;
|
||||
|
||||
Reference in New Issue
Block a user