| | |
| | | |
| | | string mainUrl; |
| | | |
| | | public SGWorld74 SG; |
| | | public SGWorld71 SG; |
| | | |
| | | private bool isAngle; |
| | | |
| | |
| | | |
| | | private double angleSize; |
| | | |
| | | private ITerrainLabel74 angleLabel; |
| | | private ITerrainLabel71 angleLabel; |
| | | |
| | | private ITerrainPolyline74 angleLine; |
| | | private ITerrainPolyline71 angleLine; |
| | | |
| | | private string angleGroupName = "角量算"; |
| | | |
| | |
| | | return; |
| | | } |
| | | |
| | | SG = new SGWorld74(); |
| | | SG = new SGWorld71(); |
| | | SG.OnLoadFinished += SG_OnLoadFinished; |
| | | |
| | | tree = new FrmTree(); |
| | |
| | | SG.Command.Execute(1014, 26); break; |
| | | case 0xc6: // 模型数据(*.osgb) |
| | | ExecCmd(new List<string> { "taskkill /f /t /im MeshLayerTool.exe" }); // SG.Command.Execute(2342, null); |
| | | RunExe(Path.Combine(ConfigurationManager.AppSettings["tePath"], "MeshLayerTool.exe"), " -RunApp TerraExplorer -RunConvertor -Mode ImportMeshLayer -Type osgb", false); |
| | | RunExe(Path.Combine(ConfigurationManager.AppSettings["tePath"], "MeshLayerTool.exe"), " -RunConvertor -Mode ImportMeshLayer -Type osgb", false); // -RunApp TerraExplorer |
| | | break; |
| | | case 0xc7: // 模型数据(*.obj) |
| | | SG.Command.Execute(1012, 13); break; |
| | |
| | | this.ShowHtml("坡度分析", mainUrl + @"\Resources\SlopeMapQuery\SlopeMapQuery.html", 20, 20, 350, 365); |
| | | break; |
| | | case 1045: |
| | | this.ShowHtml("体积分析", mainUrl + @"\Resources\Volume\Volume.html", 20, 20, 350, 255); |
| | | this.ShowHtml("体积分析", mainUrl + @"\Resources\Volume\Volume.html", 20, 20, 350, 225); |
| | | break; |
| | | } |
| | | } |