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

基于方向因子和方向边的多边形内外点判断算法
引用本文:张卡,盛业华,叶春.基于方向因子和方向边的多边形内外点判断算法[J].测绘科学,2010,35(4):174-176.
作者姓名:张卡  盛业华  叶春
作者单位:南京师范大学虚拟地理环境教育部重点实验室,南京,210046;南京师范大学虚拟地理环境教育部重点实验室,南京,210046;南京师范大学虚拟地理环境教育部重点实验室,南京,210046
基金项目:国家自然科学基金,江苏省高校自然科学重大基础研究项目,南京师范大学科研启动基金 
摘    要:本文在概述已有多边形内外点判断算法的基础上,提出了方向因子和方向边的概念,并利用方向因子和方向边,设计了一种判断点在多边形内外的新算法。该方法首先找出点的方向边,再计算该点与其方向边组成的三角形的方向因子,然后利用计算的方向因子来判断点与多边形的位置关系,其可以有效地解决射线法中的临界位置问题。实验结果表明,该方法易于理解,计算简单,具有较高的可靠性、稳定性和执行效率。

关 键 词:多边形  方向因子  方向边  内外点判断

Algorithm of polygon point in-out test based on direction factor and direction edge
ZHANG Ka,SHENG Ye-hua,YE Chun.Algorithm of polygon point in-out test based on direction factor and direction edge[J].Science of Surveying and Mapping,2010,35(4):174-176.
Authors:ZHANG Ka  SHENG Ye-hua  YE Chun
Abstract:Based on summarizing present algorithms of polygon point in-out test,the direction factor and direction edge were proposed in this paper,and a new algorithm of judging points in or out of polygon was designed using direction factor and direction edge.In this method the direction edge of judged point was found out firstly,then the direction factor of triangle composed of judged point and direction edge was calculated.Lastly,the relation of judged point and the polygon was judged with the calculated direction factor.This method could efficiently solve the critical position problem of the ray method.Experimental results showed that this method was comprehensible,simple,stable,reliable and efficient.
Keywords:polygon  direction factor  direction edge  point in-out test
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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