手机版
网站地图
美文美图
最新动态
你好,欢迎访问
好美文阅读网
个性皮肤
搜索
网站首页
美文
文章
散文
日记
诗歌
小说
故事
句子
作文
签名
祝福语
情书
范文
读后感
文学百科
美文摘抄
节日文章
名家散文
网名大全
座右铭
口号大全
面试技巧
说说大全
阅读答案
诗词默写
流言蜚语
节日祝福
好句子
经典台词
谚语大全
亲情故事
友情故事
表白情书
工作报告
活动总结
心得体会
专题汇总
美文网首页
沿线飞行
沿线飞行
作者:
46c039090c91
| 来源:发表于
2019-04-16 14:04 被阅读0次
沿线飞行可以分为两种,一种其实是视角在沿线飞行,还有一种就是沿线飞行。在开发文档上面已经有了区分。
视角的
1.FlyAlongWithLine
private void button4_Click(object sender, EventArgs e)
{
GSOFeature feature = globeControl1.Globe.SelectedObject;
if (feature != null)
{
if (feature.Geometry.Type == EnumGeometryType.GeoPolyline3D)
{
GSOGeoPolyline3D flyline = feature.Geometry as GSOGeoPolyline3D;
globeControl1.Globe.FlyAlongLineRotateSpeed = 2000; //过弯速度
globeControl1.Globe.FlyAlongLineSpeed = 500;
double higherthanline = 100; //高于线
double eyedegree = 0; //视角夹角
double intersectionangle = 80;//水平夹角
globeControl1.Globe.FlyAlongWithLine(flyline, higherthanline, eyedegree, intersectionangle);
}
}
}
FlyAlongWithLine
2.FlyEyeAlongWithLine
private void flyeyealongline_Click(object sender, EventArgs e)
{
GSOFeature feature = globeControl1.Globe.SelectedObject;
if (feature != null)
{
if (feature.Geometry.Type == EnumGeometryType.GeoPolyline3D)
{
GSOGeoPolyline3D flyline = feature.Geometry as GSOGeoPolyline3D;
double higherthanline = 100; //高于线
double eyedegree = 0; //视角夹角
double intersectionangle = 80;//水平夹角
globeControl1.Globe.FlyEyeAlongWithLine(flyline, higherthanline, 0, true,0,false);
}
}
}
FlyEyeAlongWithLine
3.FlyEyeAlongWithLine与FlyAlongWithLine相比,设置的部分的数值并没有实际用到,浏览的时候,FlyEyeAlongWithLine也比较死板。
4.在上面的示例中,所有的线都是选中的,在实际的应用的中不是很方便,在学习SDK中的绘制模式和事件回调后,可以直接在绘制线后,实现沿线飞行的效果。
5.其他飞行模式参考开发文档
相关文章
网友评论
本文标题:
沿线飞行
本文链接:
https://www.haomeiwen.com/subject/wphbwqtx.html
延伸阅读
那年盛夏诗歌
环境监察队工作总结范文
优秀教师学习心得范文
华胥引的读后感300字
《Its red》教学反思范文
农资购销的合同范本
竞选中队委优秀演讲稿
辞金蹈海的成语解释
《世纪宝鼎》公开课教案设计
因为爱你,所以牵挂
今生今世红尘醉——美到
一个90后的内心独白
致已逝去的高中年华
深度阅读
您也可以注册成为美文阅读网的作者,发表您的原创作品、分享您的心情!
情人节
母亲节
重阳节
清明节
端午节
植树节
元宵节
妇女节
愚人节
圣诞节
父亲节
教师节
儿童节
劳动节
青年节
建军节
万圣节
平安夜
光棍节
中秋节
国庆节
感恩节
腊八节
更多话题
栏目导航
摄影
故事
互联网
读书
旅行
热点阅读
1:人们为什么总想念小时候的味道
粉红
1688诚信通店铺开店流程及装修技巧
电影大师希区柯克最好看的五部电影,哪部你还没看
IBO30问之15.如何选择IBO曲线
【薛晓薛】雨露花一枝 自填词 cover:《长安忆》
亲情关系
新手怎么做好自媒体,新手做自媒体需要注意什么
DayI5思维导图~目标设定
是谁在艳压?第九届北京国际电影节开幕红毯造型点评
网友评论