文档介绍:高斯投影(大地正反算)正反算编程题(C#)
本题用C#语言编写:
using System;
using ;
namespace大地正反算
{
public partial class Forml : Form
{
public Form 1()
{
InitializeComponent();
)
private void toolTip 1 _Popup(obj ect sender, PopupEventArgs e)
{
(textBoxl,"请输入起始大地纬度”);
(textBox2,"请输入起始大地经度”);
}
double a;
double b;
double c;
double E;
double El;
double p = * / ();
private void Form 1 _Load(obj ect sender, EventArgs e) { . Add("克拉索夫斯基椭球体”); . Add(" 1975年国际椭球体”); . Add("WGS-84 椭球体”); . Add("CGCS200");
}
private void comboB ox 1 _SelectedIndexChanged(obj ect sender, EventArgs e) {
switch ()
{
case 0:
double al, bl, cl, E01, Ell;
al = ;
bl = ;
cl =;
E01 =;
Ell =; a = al;
b 二 bl;
c = cl;
E = E01;
El =E11;
break;
case 1:
double a0,b0,c0,E00,E10;
aO = ;
b0 = ;
c0 = ;
E10 = &
E00 = ; a = aO;
b 二 bO;
c = cO;
E=E00;
El=E10;
break;
case 2:
double a2, b2, c2, E02, E12; a2 = ; b2 = ;
c2 = ;
E02 = ;
E12 = ;
a = a2;
b 二 b2;
c = c2;
E