计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (33): 105-107.

• 产品、研发、测试 • 上一篇    下一篇

三维最短路径分析算法的实现及其可视化

朱耿青,陈崇成,唐丽玉,林 定   

  1. 福州大学 福建省空间信息工程研究中心 空间数据挖掘与信息共享教育部重点实验室,福州 350002
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-11-21 发布日期:2007-11-21
  • 通讯作者: 朱耿青

Realization of shortest path on raster terrain data and 3D visualization

ZHU Geng-qing,CHEN Chong-cheng,TANG Li-yu,LIN Ding   

  1. Key Lab of Spatial Data Mining and Information Sharing of Ministry of Education(Fuzhou University),Spatial Information Research Center of Fujian Province,Fuzhou 350002,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-11-21 Published:2007-11-21
  • Contact: ZHU Geng-qing

摘要: 最短路径算法是路径搜索领域的重要问题,也是最优路径分析算法的基础。论文设计并实现了适用于栅格地形数据的数据存储结构。在分析A*算法思想的前提下,将计算机图形学中的直线求交算法应用到启发函数的计算中,实现了针对规则栅格地形数据计算最短路径的算法并将其进行了三维可视化显示。

关键词: A*算法, Bresenham算法, 栅格, 最短路径

Abstract: The shortest path algorithm is one of the important question in pathfinding,and it is the base of the best path finding algorithm.This paper explains the design of the data structure for storaging the raster terrain data.By analyzing A* algorithm,we apply the Bresenham line-drawing algorithm into calculating the heuristic function and realize the shortest path finding algorithm on raster terrain data.Also,we show the shortest path in three-dimensional terrain.

Key words: A* algorithm, Bresenham line-drawing algorithm, raster, shortest path