当前位置: 首页 > news >正文

招商加盟网站开发青海省建设厅通报网站

招商加盟网站开发,青海省建设厅通报网站,Wordpress加720云vr,好看个人博客html源码三维虚拟电子沙盘数字沙盘态势推演教程第12课 设置system.ini 如下内容 Server122.112.229.220 userGisTest Passwordchinamtouch.com 该数据库中只提供 成都市火车南站附近的数据请注意#xff0c;104.0648,30.61658 SDK中自带了一套 导航系统#xff0c;用的是比较详细的… 三维虚拟电子沙盘数字沙盘态势推演教程第12课 设置system.ini 如下内容 Server122.112.229.220 userGisTest Passwordchinamtouch.com 该数据库中只提供 成都市火车南站附近的数据请注意104.0648,30.61658 SDK中自带了一套 导航系统用的是比较详细的导航数据你们懂的修正了一下在使用互联网服务器时候的一个BUG请在使用这部分功能时务必下载上面地址中的核心更新包覆盖。 截图如下 该导航图为切片导航图。年份嘛你们懂的,另外导航系统为线程异步工作。因需要数据库支持所以如果你是用的互联网服务器 导航算法得到路径的时间会有所增长建议是把数据库下载到本地才可以看到真实的导航算法速度。 导航算法在单独的ShortRoad.dll中可独立使用担需要相关数据文件。导航算法可根据权值进行微调目前有高速优先和最短路径两种。 ShortRoad.ShortPath.MyPareant this.Dispatcher;  //因为导航算法为异步委托多线程方式完成需要一个异步委托主对象静态。 ShortRoad.ShortPath.chuslhi(); //初始化数据静态 MyShort new ShortRoad.ShortPath(); //初始化导航类 MyShort.OnShortPath new ShortRoad.ShortPath.PathOver(ShortPath_OnShortPath); //导航数据回调事件 MyShort.OnPro new ShortRoad.ShortPath.ChuLiPro(ShortPath_OnPro); //导航算法信息事件。 MyShort.GetShortPath(BeginPoint.X, BeginPoint.Y, EndPoint.X, EndPoint.Y,false); //获取最短路径 参数起点经度纬度终点经度纬度是否启用高速优先。 路径回调事件      void ShortPath_OnShortPath(System.Collections.Generic.Dictionarystring, System.Collections.Generic.ListSystem.Drawing.PointF value,System.Windows.Point bx,System.Windows.Point ey) {            double Totolength 0; Pareant.PlayPath.Add(new Point3D(BeginPoint.X, BeginPoint.Y, 0)); foreach (string key in value.Keys) { Totolength Convert.ToDouble(key.Split(#)[1].Split(,)[12]); foreach (System.Drawing.PointF y1 in value[key]) { Pareant.PlayPath.Add(new Point3D(y1.X, y1.Y, 0)); } } } 事件参数1System.Collections.Generic.Dictionarystring,System.Collections.Generic.ListSystem.Drawing.PointF 存放有所有的路径数据 KEY为路径详细信息内容如下Value中为经纬度数据 清江东路#464400 , 49559714 , 1 , 0302 , 130 , 3 , 2 , 1 ,  , 47106369 , 5880354 , 3 , 0.012 , 1 , 1 ,  , 0 , 1 , 0 , 510105 , 510105 , 1 ,  ,  , 5 ,  , 4 , 3 , 11110001110000000000000000000000 , 0 , 0 ,  ,  ,  , 600 ,  , 1 , 1 ,  , 清江东路 该KEY描述了这条路的所有信息。可参看下表 下面上代码先要引用shortroad.dll ShortRoad.ShortPath.MyPareant this.Dispatcher;  //因为导航算法为异步委托多线程方式完成需要一个异步委托主对象静态。             ShortRoad.ShortPath.chuslhi(); //初始化数据静态             MyShort new ShortRoad.ShortPath();             //初始化导航类             MyShort.OnShortPath this.MyShort_OnShortPath;             //导航数据回调事件                 MyShort.OnPro MyShort_OnPro;             //导航算法信息事件。   #region 导航系统         System.Windows.Point FirstJW new System.Windows.Point();         System.Windows.Point secJW new System.Windows.Point();         private void Button_Click_15(object sender, RoutedEventArgs e)         {             gis3d.State GisLib.WindowsMT.GisState.获取经纬度;             gis3d.GetJWEvent Gis3d_GetJWEvent2;                          }           private void Gis3d_GetJWEvent2(System.Windows.Media.Media3D.Point3D value)         {             gis3d.GetJWEvent - Gis3d_GetJWEvent2;             FirstJW new System.Windows.Point(value.X, value.Y);             gis3d.State GisLib.WindowsMT.GisState.漫游;         }           private void Button_Click_16(object sender, RoutedEventArgs e)         {             gis3d.State GisLib.WindowsMT.GisState.获取经纬度;             gis3d.GetJWEvent Gis3d_GetJWEvent3;         }           private void Gis3d_GetJWEvent3(System.Windows.Media.Media3D.Point3D value)         {             gis3d.GetJWEvent - Gis3d_GetJWEvent2;             secJW new System.Windows.Point(value.X, value.Y);             MyShort.GetShortPath(FirstJW.X, FirstJW.Y, secJW.X, secJW.Y, true);             gis3d.State GisLib.WindowsMT.GisState.漫游;         }           private void MyShort_OnPro(string value)         {             FirstShort.Content value;         }           private void MyShort_OnShortPath(Dictionarystring, ListPointF value, System.Windows.Point mbegin, System.Windows.Point mend)         {             if (value null)                 return;             if (value.Count 0)                 return;                   ListPoint3D PlayPath new ListPoint3D();               double Totolength 0;               // Pareant.PlayPath.Add(new Point3D(BeginPoint.X, BeginPoint.Y, 0));             foreach (string key in value.Keys)             {                 if (key.Length 12)                 {                     if (key.Split(#).Length 2)                         Totolength Convert.ToDouble(key.Split(#)[1].Split(,)[12]);                 }                   foreach (System.Drawing.PointF y1 in value[key])                 {                     PlayPath.Add(new Point3D(y1.X, y1.Y, 0));                 }               }             PlayPath.Add(new Point3D(secJW.X, secJW.Y, 0));             Random t1 new System.Random();               System.Windows.Media.Color pp new System.Windows.Media.Color();                             pp Colors.Red;               //调用SDK提供的画路方法把路画出来             gis3d.RemoveShotPath(导航路径);             gis3d.DrawShortPath(PlayPath, 导航路径, pp, true);               }         #endregion   效果如下再三强调数据库配合所以用互联网服务器的时候。在计算时会比较慢担因为使用的是线程模式所以不影响主进程做其它事。SDK自带的drashortpath方法支持自动抽稀可以显示很长的导航路线。
http://www.pierceye.com/news/915796/

相关文章:

  • 上海网站制作方法网站页面设计报价
  • 介绍自己做的网站的论文网站模块建设中
  • 诸城手机网站建设微官网怎么制作
  • 做网站界面的软件网站开发售后服务
  • 织梦可以做英文网站吗成交型网站建设公司
  • 长沙招聘网站制作广告设计公司需要用专线网吗
  • 一级做爰A视频免费网站国内疫苗接种率
  • 绍兴网站公司网站制作163邮箱登录页面
  • 阐述电子商务网站的建设要求网站开发总结性报告
  • html与wordpressaso优化方法
  • 众v创业营网站开发营销活动方案策划
  • 什么网站免费做推广抚州北京网站建设
  • 响应式网站 软件做网站下载那个数据库好
  • 网站loading动画效果微信开放平台介绍
  • 山东网站建设报价网页制作与网站建设答案
  • 佛山网站搭建费用淄博刚刚发布紧急通知
  • 建站教程视频下载视频直播软件开发
  • 后缀cc的网站php网站开发实例教程代码百度云
  • 注册好域名之后怎么做个人网站如何用服务器代替空间做网站
  • 电商网站建设懂你所需网络品牌营销推广途径
  • 10大免费软件下载网站推荐购物网站域名大小
  • 网站建设项目安排计划表wordpress博客官网登陆账号密码
  • 无锡网络公司网站建设app微信公众号平平面设计培训价格
  • 免费的黄冈网站有哪些平台可以用微信支付制作网站的步骤和过程
  • 杭州的网站设计公司漂亮的网站是什么建设出来的
  • 全屏网站代码佛山专业网站建设公司推荐
  • 自己做信息网站有什么设计网站
  • 检察网站建设请示wordpress 重定向多
  • 做网站用什么服务器比较好线上推广网络公司
  • 长春营销型网站制作内蒙古建设部网站官网