首页> 外文会议>International Conference on Image and Graphics >An Algorithm for Judging Points Inside or Outside a Polygon
【24h】

An Algorithm for Judging Points Inside or Outside a Polygon

机译:一种判断多边形内部或外部的点的算法

获取原文

摘要

There are massive classic algorithms determining whether points are inside or outside of a polygon, such as Ray Casting, Cross Product Judging and Angle-judging, whereas these algorithms require discussing various kinds of special circumstances, or the determination needs transformation into other algorithms, which are inefficient and unstable. According to the knowledge of elementary geometry and graph theory, this article suggests a new algorithm, by using the method of drawing a vertical line through the point under judgment and judging the point with the method of substitution and then marking a variable. This algorithm requires neither discussing special circumstances, nor performing division operations, therefore the efficiency and stability of it is significantly increased. Many cases have proved that the efficiency of this algorithm is about 9.5 to 9.8 times of the classical ray algorithm.
机译:有大规模的经典算法确定点是否在多边形的内部或外部,例如光线铸造,交叉产品判断和角度判断,而这些算法需要讨论各种特殊情况,或者确定需要转换到其他算法中,或者 效率低,不稳定。 根据基本几何和图表理论的知识,本文介绍了一种新的算法,通过使用判断点下的点绘制垂直线的方法,并用替换方法判断点,然后标记变量。 该算法既不需要讨论特殊情况,也不需要执行划分操作,因此它的效率和稳定性显着增加。 许多情况证明,该算法的效率约为古典射线算法的9.5%至9.8倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号