Computer Engineering and Applications ›› 2008, Vol. 44 ›› Issue (32): 51-52.DOI: 10.3778/j.issn.1002-8331.2008.32.015

• 理论研究 • Previous Articles     Next Articles

Algorithm for computing diameter of convex polygon by middle axis

DONG Xiu-shan1,LIU Run-tao2   

  1. 1.College of Applied Science,Harbin University of Science and Technology,Harbin 150080,China
    2.Institution of Information and Scientific Computing Technology,Harbin University of Science and Technology,Harbin 150080,China
  • Received:2007-12-10 Revised:2008-02-27 Online:2008-11-11 Published:2008-11-11
  • Contact: DONG Xiu-shan

中轴求凸多边形直径算法

董秀山1,刘润涛2   

  1. 1.哈尔滨理工大学 应用科学学院,哈尔滨 150080
    2.哈尔滨理工大学 信息与科学计算技术研究所,哈尔滨 150080
  • 通讯作者: 董秀山

Abstract: A brand new algorithm for computing the diameter of a convex polygon is proposed,based on the research on the properties of the middle medial axis for a convex polygon.First the middle axis of a convex polygon is determined,then the diameter of the polygon can be computed by the two end points of the middle axis.The algorithm has no pre-processing,and its time complexity is O(n).

Key words: convex polygon, diameter, middle axis, main axis

摘要: 在研究中轴性质的基础上,给出了一种全新的求解凸多边形直径算法。该算法首先求出凸多边形的中轴,再根据中轴的两个端点确定直径。算法简单,并在无预处理的情况下达到了O(n)。

关键词: 凸多边形, 直径, 中轴, 主轴