資源簡(jiǎn)介
一個(gè)用C#寫(xiě)的高斯坐標(biāo)正反算,包括鄰帶換算、不分帶計(jì)算。控制測(cè)量高斯正反算以及鄰帶換算程序代碼。
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
namespace?Gauss
{
????class?Angle
????{
???????
????????static?double?min=0.000000001;
????????public?double?dmsTOdeg(double?Value)//度分秒轉(zhuǎn)換為度形式
????????{
????????double?x1=Math.Floor(Value+min);
????????double?x2=Math.Floor(100*(Value+min-x1));
????????double?x3=10000*(Value-x1-x2/100.0);
????????????double?degValue=0;
????????return??degValue=x1+x2/60.0+x3/3600.0;
?????????}
????????public?double?dmsTOrad(double?Value)//度分秒轉(zhuǎn)換為弧度形式
????????{
????????double?x1=Math.Floor(Value+min);//取整
????????double?x2=Math.Floor(100*(Value+min-x1));
????????double?x3=10000*(Value+min-x1-x2/100.0);
????????????double?radvalue=0;
????????return??radvalue=(x1+x2/60.0+x3/3600.0)*Math.PI/180.0;
????????}
????????public?double?degTOdms(double?Value)//度轉(zhuǎn)換為度分秒形式
????????{
????????double?x1=Math.Floor(Value+min);
????????double?x2=Math.Floor((Value+min-x1)*60)/100.0;
????????double
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????1869??2018-08-22?16:23??Gauss\Gauss\Angle.cs
?????文件??????30208??2018-09-12?10:34??Gauss\Gauss\bin\Debug\Gauss.exe
?????文件??????54784??2018-09-12?10:34??Gauss\Gauss\bin\Debug\Gauss.pdb
?????文件??????14328??2018-09-12?11:07??Gauss\Gauss\bin\Debug\Gauss.vshost.exe
?????文件????????490??2016-05-25?10:56??Gauss\Gauss\bin\Debug\Gauss.vshost.exe.manifest
?????文件???????3348??2018-08-31?09:06??Gauss\Gauss\File.cs
?????文件??????15551??2018-09-12?10:34??Gauss\Gauss\Form1.cs
?????文件??????29041??2018-09-12?09:19??Gauss\Gauss\Form1.Designer.cs
?????文件???????6799??2018-09-11?18:07??Gauss\Gauss\Form1.resx
?????文件???????3886??2018-08-24?11:55??Gauss\Gauss\Gauss.csproj
?????文件??????10279??2018-08-31?11:05??Gauss\Gauss\GaussCalculate.cs
?????文件????????838??2018-09-12?11:07??Gauss\Gauss\obj\Debug\Gauss.csproj.FileListAbsolute.txt
?????文件????????906??2018-09-11?18:07??Gauss\Gauss\obj\Debug\Gauss.csproj.GenerateResource.Cache
?????文件??????30208??2018-09-12?10:34??Gauss\Gauss\obj\Debug\Gauss.exe
?????文件????????180??2018-09-11?18:07??Gauss\Gauss\obj\Debug\Gauss.Form1.resources
?????文件??????54784??2018-09-12?10:34??Gauss\Gauss\obj\Debug\Gauss.pdb
?????文件????????180??2018-08-24?11:55??Gauss\Gauss\obj\Debug\Gauss.Properties.Resources.resources
?????文件????????486??2018-08-09?15:50??Gauss\Gauss\Program.cs
?????文件???????1342??2018-08-09?15:50??Gauss\Gauss\Properties\AssemblyInfo.cs
?????文件???????2860??2018-08-09?15:50??Gauss\Gauss\Properties\Resources.Designer.cs
?????文件???????5612??2018-08-09?15:50??Gauss\Gauss\Properties\Resources.resx
?????文件???????1090??2018-08-09?15:50??Gauss\Gauss\Properties\Settings.Designer.cs
?????文件????????249??2018-08-09?15:50??Gauss\Gauss\Properties\Settings.settings
?????文件????????905??2018-08-09?15:50??Gauss\Gauss.sln
????..A..H.?????22528??2018-09-12?11:19??Gauss\Gauss.suo
?????目錄??????????0??2018-08-10?09:00??Gauss\Gauss\obj\Debug\Refactor
?????目錄??????????0??2018-08-09?15:50??Gauss\Gauss\obj\Debug\TempPE
?????目錄??????????0??2018-08-27?08:50??Gauss\Gauss\bin\Debug
?????目錄??????????0??2018-09-12?10:34??Gauss\Gauss\obj\Debug
?????目錄??????????0??2018-08-24?11:51??Gauss\Gauss\bin
............此處省略7個(gè)文件信息
評(píng)論
共有 條評(píng)論