摘要
经天路图是基于三维GIS系统的公路综合设计平台,为了使用户在该软件的使用过程中,准确表达设计理念和思想,需要开发在三维地球场景下的精确绘制图形功能。本文基于中科图新LocaSpaceSDK开发工具包,,使用C#语言在Visual Studio 2019平台上开发了基础图元(点、线、多段线、圆、圆弧)绘制功能、特殊点(端点、图元之间的交点、垂足等)捕捉以及正交绘图、延长线追踪等辅助绘图功能。本文介绍了基础绘图功能的研发思路、工具、流程及关键算法,并展示了绘图功能的工程应用。结果表明,本文开发的基础绘图功能可以便捷、快速、准确地帮助用户表达设计理念和思路,提升设计效率。
Jingtianlutu is a comprehensive road design platform based on a 3D GIS system.To enable users to accurately express their design concepts and ideas during the use of the software,it is necessary to develop drawing functions with precision requirements in a 3D Earth environment.In this study,based on the LocaSpace development toolkit of Tuxin,the drawing function of basic primitives(points,lines,polylines,circles and arcs)and special points(endpoints,intersections and vertical feet among the primitives)are developed on the platform of Visual Studio 2019 by using C#language.This study introduces the research and development content,detailed design ideas,development tools,development process,and key algorithms behind the drawing functions.Finally,it demonstrates the practical application of the drawing functions and the implementation of the capture functionality.The results show that the basic drawing function developed in this article can conveniently,quickly,and accurately help users express design concepts and ideas,and improve design efficiency.
作者
戴望宇
徐益飞
赵飞
邱瑞成
杨万理
Dai Wangyu;Xu Yifei;Zhao Fei;Qiu Ruicheng;Yang Wanli(State Key Laboratory of Bridge Intelligent and Green Construction,Southwest Jiaotong University,Chengdu 611756,China;School of Civil Engineering,Southwest Jiaotong University,Chengdu 610031,China;Sichuan Communications Surveying and Design Institute Co.,Ltd.,Chengdu 610017,China)
出处
《土木建筑工程信息技术》
2025年第4期93-98,共6页
Journal of Information Technology in Civil Engineering and Architecture
基金
四川省科技计划项目(编号:2023YFS0429)。