首页 | 本学科首页   官方微博 | 高级检索  
     

简单多边形方向识别的健壮算法
引用本文:丁健,江南,芮挺.简单多边形方向识别的健壮算法[J].计算机辅助设计与图形学学报,2005,17(3):442-447.
作者姓名:丁健  江南  芮挺
作者单位:中国科学院南京地理与湖泊研究所,南京,210008;中国科学院研究生院,北京,100039;解放军理工大学工程兵工程学院,南京,210007;中国科学院南京地理与湖泊研究所,南京,210008;解放军理工大学工程兵工程学院,南京,210007
基金项目:中国科学院知识创新工程领域前沿项目 (CXNIGLAS A0 2 0 12 )
摘    要:极值顶点前后相邻边矢量叉积法是识别任意简单多边形方向的最优算法 该算法存在的问题是 :当极值顶点前后相邻边夹角接近 0°或 180°时 ,叉积结果接近 0 ,因此存在二义性 ,会导致错误的方向识别 针对现有算法对奇异情形方向判别解决不彻底的问题 定义了多边形极值顶点奇异情形 ,对相邻边夹角接近 0°和 180°两种奇异情形给出了判定方法 ;提出了极点前后点坐标比较法和极点序号大小比较法 ,有效地解决了所有奇异情形下的方向识别问题 ,它们都可以发展成为独立的方向判断算法 实验结果表明 ,该算法简单高效 ,健壮性强 ,时间复杂度为O(n)

关 键 词:简单多边形  多边形方向  极值顶点

Robust Algorithm for Identifying the Orientation of Simple Polygons
Ding Jian,Jiang Nan,Rui Ting.Robust Algorithm for Identifying the Orientation of Simple Polygons[J].Journal of Computer-Aided Design & Computer Graphics,2005,17(3):442-447.
Authors:Ding Jian  Jiang Nan  Rui Ting
Affiliation:Ding Jian 1,2,3) Jiang Nan 1) Rui Ting 3) 1)
Abstract:Traditional cross product method faces the difficulty in identifying the orientation of simple polygons in the case that the included angle between two neighboring edges is near 0 or 180 degree, with their cross product close to 0, so that a wrong result may be generated. In this paper, a new method in distinguishing 0 degree case from 180 degree case is given, and a novel orientation identification algorithm is presented. In the case of 0 degree,the extreme vertex serial number comparison method is used to get the orientation. And in the case of 180 degree, the coordinate value comparison method is used to get the orientation. Experimental results show that the new algorithm is robust, and an improvement on the identification performance is achieved in comparison with the cross product method.
Keywords:simple polygon  polygon's orientation  extreme vertex
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号