多边形凸性:又一个 O(n) 测试
计算几何
2007-05-23 v2 数据结构与算法
摘要
n 边形定义为平面上 个点的序列 。如果 边形 的顶点集合 的凸包包络与边 的并集重合,则称 边形 是凸的;如果此时 中没有三个顶点共线,则称 为严格凸的。我们证明了,当 时, 边形 严格凸的充要条件是:x 轴与向量 之间夹角的序列 的循环移位是严格单调的。此外,还证明了该结果的“非严格”版本。
引用
@article{arxiv.cs/0701045,
title = {Polygon Convexity: Another O(n) Test},
author = {Iosif Pinelis},
journal= {arXiv preprint arXiv:cs/0701045},
year = {2007}
}
备注
14 pages; changes: (i) a test for non-strict convexity is added; (ii) the proofs are gathered in a separate section; (iii) a more detailed abstract is given