Journal of Graphics
Previous Articles Next Articles
Online:
Published:
Abstract: An optimal linear time algorithm is proposed to calculate the width of convex polygons. It is proved that the width of a convex polygon only be found between the span of vertex-edge pairs. In this way, the range of calculation narrows down. Then an algorithm using distance comparison is investigated to reduce the calculation of the span. Based on the basic algorithm of vertex-edge pairs and the distance comparison, the optimal algorithm for calculating the width is proposed. The simulation results show that the proposed algorithm greatly improves the efficiency of caculating the width of convex polygons, and reduces the time complexity to O(n).
Key words: computational geometry, optimal algorithm, vertex-edge pairs, convex polygon
CHEN Hai, WANG Xin-min, JIAO Yu-song, LI Yan. An Optimal Algorithm for Calculating the Width of Convex Polygons[J]. Journal of Graphics.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.txxb.com.cn/EN/
http://www.txxb.com.cn/EN/Y2011/V32/I2/5