作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (20): 86-88.

• 论文 • 上一篇    下一篇

点与简单多边形关系的新算法

胡景松,张丽芬,王晓华,宋维佳,龙斌   

  1. 北京理工大学计算机系,北京理工大学计算机系,北京理工大学计算机系,北京理工大学计算机系,北京理工大学计算机系 北京 100081
  • 发布日期:2004-10-25

New Algorithm for Simple Polygon and Point

HU Jingsong,ZHANG Lifen,WANG Xiaohua,SONG Weijia,LONG Bin   

  1. (Department of Computer Science and Engineering,Beijing Institute of Technology,Beijing 100081)
  • Published:2004-10-25

摘要: 提出一种检测点与多边形关系的新算法,通过扫描建立适合查找的多边形层次结构。检测时,运用二分查找,找到与检测点相关的边,通过该点与相关边的关系判断出点与多边形的关系。实验结果表明,该方法简单有效,有较高的检测速度。

关键词: 点, 简单多边形, 包含检测

Abstract: A new algorithm is presented to do the inclusion test for simple polygon. A preprocessing is used to establish a hierarchical data structure for binary search. The algorithm searches correlative edges for the point and then examines the relationship between the point and the polygon. The experiment results show that the algorithm is simple, efficient and fast.

中图分类号: