摘要在地理信息系统中,矢量图形系统是尤为重要的一个组成部分,它是地理实 体抽象和完整表达的主要途径,也是开发 GIS 的重点和难点。
在本文中,主要研究利用 VC++6.0 从底层开发一个可以满足基本需求的 GIS 矢量图形系统,主要剖析和介绍了系统的设计思想和实现技术,重点研究了矢量 图形元素类的组织与存储并实现鼠标交互绘制各种图形对象。本文探讨了 Windows 坐标系和矢量图形系统坐标系之间的转换关系,并由此实现了矢量图形 的无极缩放、图形的移动、全屏显示等功能。此外,本文还实现了计算两条直线 的交点、计算两条直线的夹角、计算方位角的算法,最后通过对算法的测试,其 精度满足要求。69259
该论文有图 21 幅,表 4 个,参考文献 23 篇。
毕业论文关键词:矢量图形系统 底层开发 图形元素类 鼠标交互绘图
GIS Vector Graphics System Design Based on VC++
Abstract
Vector graphics systems are important components of the GIS system, is the principal means of expression of abstract and full of geographic entities, are also key points and difficult points of the development GIS.
This paper mainly studies the use of VC++ development from the bottom a GIS vector graphics systems that can meet the basic requirements, mainly introduced the system, analysis and design, implementation, and focuses on the organization and storage of vector graphic element class and achieving the mouse interaction to draw various graphics objects. Vector graphics systems through the establishment of coordinate system and study on relationship between Windows converting between coordinate systems, achieve the stepless zooming of graphics, graphics operations such as move, drawing the full screen feature. In addition, the paper also implements the intersection of two straight lines, calculation of two straight lines, the calculation of the azimuth Angle algorithm.Finally through the debugging and analysis of system ,the experimental results meet the requirements.
This paper has 21pictures,4 tables and 23 references.
Key Words: vector graphics systems low-level development graphic element class mouse interaction mapping
目 录
摘要 I
Abstract II
目录 III
图清单.. Ⅳ
表清单.. Ⅳ
1 绪论 1
1.1 研究背景 1
1.3 研究内容及主要工作 2
2 矢量图形系统设计思路 3
2.1 开发思路 3
2.2 功能模块分析 3
2.3 界面设计 4
3 矢量图形系统坐标系的设计 5
3.1Windows 映像方式及其设置 5
3.2 逻辑坐标和设备坐标的转换 5
3.3 矢量图形系统坐标系的建立 6
3.4 系统中各坐标系间的转换关系 6
4 矢量图形系统的实现 8
4.1 交互绘制各类图形元素