資源簡介
代碼片段和文件信息
#include?
#include?
#include?“Trans.h“
using?namespace?std;
int?main()?{
????//?(370975, 3200121)????(103.67704 28.91091)
//????Trans?trans(8.5?-28?-14.8888?-0.888?1.9999?-3.1111?4.22222?coord::XIAN80?coord::WGS84);
????Trans?trans(0?0?0?0?0?0?0?coord::WGS84?coord::WGS84);
????Point?pt?=?Point(103.67704?28.91091?0);
????Point?result_copy?=?trans.gaussPrj_geodetic2plane(pt?6378140
??????????????????????????????????????????????????????6356755.2882?1?/?298.257?3?105);
//????Trans?trans2(0?0?0?0?0?0?0?coord::XIAN80?coord::WGS84);
//????Point?result1_copy?=?trans2.gaussInversePrj_plane2geodetic(Point(18370975?3200121?0)6378137?1?/?298.2572236??6);
????cout.precision(12);
????cout.setf(ios::fixed);
????cout?<“輸入“?<“經緯度坐標:“?<?????????result_copy.x?<“,“?<
//????cout< }
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????979??2019-11-30?14:56??main.cpp
?????文件????????8571??2019-11-30?14:53??Trans.cpp
?????文件????????5563??2019-11-30?14:53??Trans.h
評論
共有 條評論