wuwxxia
路人甲
路人甲
  • 注册日期2004-07-01
  • 发帖数158
  • QQ303098876
  • 铜币171枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:2093回复:4

地图投影变换

楼主#
更多 发布于:2004-09-11 18:01
<DIV class=O v:shape="_x0000_s2050">
<P ><FONT face="Times New Roman" size=3>#ifndef _COORTRANS_H_INCLUDED</FONT></P>
<P ><FONT face="Times New Roman" size=3>#define _COORTRANS_H_INCLUDED</FONT></P>
<P ><FONT face="Times New Roman" size=3>#include </FONT></P>
<P ><FONT face="Times New Roman" size=3>const double PI = 3.14159265353846;</FONT></P>
<P ><FONT face="Times New Roman" size=3>class PrjPoint</FONT></P>
<P ><FONT face="Times New Roman" size=3>{</FONT></P>
<P ><FONT face="Times New Roman" size=3>public:</FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">double L0; // </FONT>中央子午线经度</FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">double B, L; // </FONT>大地坐标</FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">double x, y; // </FONT>高斯投影平面坐标</FONT></P>
<P ><FONT face="Times New Roman" size=3>public:</FONT></P>
<P ><FONT face="Times New Roman" size=3>BOOL BL2xy();</FONT></P>
<P ><FONT face="Times New Roman" size=3>BOOL xy2BL();</FONT></P>
<P ><FONT face="Times New Roman" size=3>protected:</FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">double a, f, e2, e12; // </FONT>基本椭球参数</FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">double A1, A2, A3, A4; // </FONT>用于计算<FONT face="Times New Roman">X</FONT>的椭球参数</FONT></P>
<P ><FONT face="Times New Roman" size=3>public:</FONT></P>
<P ><FONT face="Times New Roman" size=3>BOOL SetL0(double dL0);</FONT></P>
<P ><FONT face="Times New Roman" size=3>BOOL SetBL(double dB, double dL);</FONT></P>
<P ><FONT face="Times New Roman" size=3>BOOL GetBL(double *dB, double *dL);</FONT></P>
<P ><FONT face="Times New Roman" size=3>BOOL Setxy(double dx, double dy);</FONT></P>
<P ><FONT face="Times New Roman" size=3>BOOL Getxy(double *dx, double *dy);</FONT></P>
<P ><FONT face="Times New Roman" size=3>};</FONT></P>
<P ><FONT face="Times New Roman" size=3>class PrjPoint_Krasovsky : virtual public PrjPoint</FONT></P>
<P ><FONT face="Times New Roman" size=3>{</FONT></P>
<P ><FONT face="Times New Roman" size=3>public:</FONT></P>
<P ><FONT face="Times New Roman" size=3>PrjPoint_Krasovsky();</FONT></P>
<P ><FONT face="Times New Roman" size=3>~PrjPoint_Krasovsky();</FONT></P>
<P ><FONT face="Times New Roman" size=3>};</FONT></P>
<P ><FONT face="Times New Roman" size=3>class PrjPoint_IUGG1975 : virtual public PrjPoint</FONT></P>
<P ><FONT face="Times New Roman" size=3>{</FONT></P>
<P ><FONT face="Times New Roman" size=3>public:</FONT></P>
<P ><FONT face="Times New Roman" size=3>PrjPoint_IUGG1975();</FONT></P>
<P ><FONT face="Times New Roman" size=3>~PrjPoint_IUGG1975();</FONT></P>
<P ><FONT face="Times New Roman" size=3>};</FONT></P>
<P ><FONT face="Times New Roman" size=3>double Dms2Rad(double Dms);</FONT></P>
<P ><FONT face="Times New Roman" size=3>double Rad2Dms(double Rad);</FONT></P>
<P ><FONT face="Times New Roman"><FONT size=3>#endif /* nde</FONT>f _COORTRANS_H_INCLUDED */</FONT></P></DIV>
<DIV class=O v:shape="_x0000_s2050"> </DIV>
喜欢0 评分0
cl991036
管理员
管理员
  • 注册日期2003-07-25
  • 发帖数5913
  • QQ14265545
  • 铜币29654枚
  • 威望213点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • GIS帝国铁杆
1楼#
发布于:2004-09-12 19:40
<P>哦</P><P>出来看天书啊</P>
没钱又丑,农村户口。头可断,发型一定不能乱。 邮箱:gisempire@qq.com
举报 回复(0) 喜欢(0)     评分
lixaokui
路人甲
路人甲
  • 注册日期2003-12-25
  • 发帖数768
  • QQ28796446
  • 铜币27枚
  • 威望0点
  • 贡献值0点
  • 银元0个
2楼#
发布于:2004-09-13 09:01
不好懂
西门吹血,有了鼓风机,就不用吹啦!
举报 回复(0) 喜欢(0)     评分
jonawan
路人甲
路人甲
  • 注册日期2004-03-09
  • 发帖数854
  • QQ
  • 铜币22枚
  • 威望0点
  • 贡献值0点
  • 银元0个
3楼#
发布于:2004-09-13 13:31
不懂
啊,恋爱,漂浮的爱情 我被失恋灼烧的躯体 就象搁浅动弹不得的流木 直到如雷电般的你 出现并击中我 我这快流木才又再度 落入爱的急流
举报 回复(0) 喜欢(0)     评分
smileapple
路人甲
路人甲
  • 注册日期2004-09-13
  • 发帖数46
  • QQ
  • 铜币47枚
  • 威望0点
  • 贡献值0点
  • 银元0个
4楼#
发布于:2004-09-13 16:52
up
举报 回复(0) 喜欢(0)     评分
游客

返回顶部