期刊文献+

点包容性检测

Algorithm for Point in Polygon
下载PDF
导出
摘要 介绍了一个易于实现的点包容性检测算法——倾斜射线法,其特点是射线不会与多边形的顶点或边重合,无须作特殊情况的处理,需计算的区域小,因而计算量小。判断倾斜射线与多边形的交点数,如果交点数为奇数,则点在多边形内,否则,点在多边形外。验证表明,此算法简单有效、稳定可靠,对自相交多边形及带孔多边形等情况同样适用。 The traditional algorithm for checking point in polygon is not convenience, then a convenience algorithm sloping line method is presented. The characteristic of this algorithm is that the sloping line did not match together with any vertex or edge of polygon, no special situation needs to deal with, the computation time is decreased. First, to make a sloping line from point, and then to count its crossing points with polygon, if the amount of crossing points is odd, then the point is in polygon, otherwise, the point is out of polygon. It is proved that this algorithm is an effective and robust one, and suitable for most cases.
出处 《工程图学学报》 CSCD 北大核心 2007年第6期30-34,共5页 Journal of Engineering Graphics
基金 国家自然科学基金资助项目(69775022) 湖北省教育厅资助项目(G200514001)
关键词 计算机应用 点包容性 倾斜射线 多边形 computer application point in polygon sloping line polygon
  • 相关文献

参考文献6

二级参考文献19

  • 1张宁宁,张树有,谭建荣.映射相关边概念的多边形内外点判别算法[J].计算机辅助设计与图形学学报,2004,16(7):935-938. 被引量:20
  • 2孙家广.计算机图形学[M].北京:清华大学出版社,2000..
  • 3Feito F,Torres J C.Inclusion test for general polyhedra[J].Computers & Graphics,1997,21(41):23-30.
  • 4Saalfield,A.It doesn't make me nearly as CROSS.Some advantages of the point vector representation of line segments in automated cartography[J].International Journal of Geographical Information Systems,1987,1(4):379-386.
  • 5Taylor,G.E.Point in polygon test[J].Survey Review,1994,32(254):479-484.
  • 6Hormann,K.and Agathos,A.The point in polygon problem for arbitrary polygons[J].Computational Geometry,2001,(20):131-144.
  • 7FOLEY J D,DAM A V,FEINER S K,et al.Computer graphics:principles and Practice[M].2nd edition.Addison-Wesley,1990.
  • 8ROURKE J O.Computational geometry in C[M].2nd edition.Cambridge:Cambridge University Press,1998.
  • 9STEIN B.A point about polygons[J].Linux Journal,1997,3(35):67-72.
  • 10BALBES R,SIEGEL J.A robust method for calculating the simplicity and orientation of planar polygons[J].Computer Aided Geometric Design,1991,8(4):327-335.

共引文献17

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部