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

基于单调性与相关边的多边形内外点判断算法
引用本文:李基拓,陆国栋,冯星.基于单调性与相关边的多边形内外点判断算法[J].中国图象图形学报,2002,7(6):595-600.
作者姓名:李基拓  陆国栋  冯星
作者单位:李基拓(浙江大学CAD&CG国家重点实验室,杭州,310027)       陆国栋(浙江大学CAD&CG国家重点实验室,杭州,310027)       冯星(浙江大学CAD&CG国家重点实验室,杭州,310027)
摘    要:为了充分挖掘多边形边的基本性质——单调性,基于检测点与多边形边之间的坐标关系,提出了相关边的概念及一种判断点在多边形内外的新算法。综合运用单调性与相关边技术,将点与我边形之间的位置关系转化为点与茯相关边之间的位置关系,从而尽可能地避免了叉积运算,且无需求交运算,从根本上提高了算法的效率,同时新算法还简单有效地解决了射线法中的临界位置问题。程序验证表明,新算法易于实现,适用于简单多边形,具有运行速度快、稳定性高等优点。

关 键 词:多边形  单调性  相关边  内外点判断  计算机图形学
文章编号:1006-8961(2002)06-0596-05
修稿时间:2001年5月17日

A New Algorithm of Point in-out Polygon Test Based on Monotonicity and Correlative Edges
LI Ji-tuo,LU Guo-dong and FENG Xing.A New Algorithm of Point in-out Polygon Test Based on Monotonicity and Correlative Edges[J].Journal of Image and Graphics,2002,7(6):595-600.
Authors:LI Ji-tuo  LU Guo-dong and FENG Xing
Abstract:Point in-out polygon test is one of the fundamental issues in Computer graphics. In this paper, the fundamental characteristic of the polygon edges-monotonicity is utilized sufficiently. According to the coordinate relations between the points and the edges, the conception of correlative edges is proposed. By integrating monotonicity with correlative edges, a new algorithm of point in-out polygon is put forward. The new algorithm transforms the relationship between a point and a polygon into that between a point and its correlative edges. The operations of intersection are avoided, and the operations of cross product are reduced as far as possible. The efficiency of the algorithm is raised radically. It is proved simply and effectively when the points are at critical positions. Software implementation verifies the high robustness and efficiency of the new algorithm.
Keywords:Polygon  Monotonicity  Correlative edge  Point in-out test
本文献已被 维普 等数据库收录!
点击此处可从《中国图象图形学报》浏览原始摘要信息
点击此处可从《中国图象图形学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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