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

一种判断点与多边形关系的快速算法
引用本文:陈瑞卿,周健,虞烈.一种判断点与多边形关系的快速算法[J].西安交通大学学报,2007,41(1):59-63.
作者姓名:陈瑞卿  周健  虞烈
作者单位:西安交通大学机械电子及信息系统研究所,710049,西安
摘    要:采用对多边形各边赋权值的方法,分析射线与多边形相交的不同情况,给出了使用结构化查询语言实现交点个数求解的快速解决方案.结合数据库管理系统提供的优化查询机制,通过执行一次查询求得射线与多边形的交点个数,从而快速地判断出点与多边形的位置关系.与其他改进方法相比,该方法易于理解,计算简单,对于具有多顶点的复杂多边形,其优越性显得更为突出.

关 键 词:交点  多边形  结构化查询语言  算法
文章编号:0253-987X(2007)01-0059-05
修稿时间:2006-04-28

Fast Method to Determine Spatial Relationship between Point and Polygon
Chen Ruiqing,Zhou Jian,Yu Lie.Fast Method to Determine Spatial Relationship between Point and Polygon[J].Journal of Xi'an Jiaotong University,2007,41(1):59-63.
Authors:Chen Ruiqing  Zhou Jian  Yu Lie
Abstract:To analyze the different locations of the intersection of a ray and a polygon quickly,a scheme of calculating the number for the intersection point is established based on the structure query language(SQL) and the method of weighting each side of the polygon.Combined with the optimized query mechanism of database management system,the amount of the intersections can be calculated by running the SQL once,and the spatial relationship between the point and polygon is confirmed rapidly.It is verified that the method is simpler and more understandable than the competing methods,especially for the complicated multi-vertex polygons.
Keywords:point of intersection  polygon  structure query language  algorithm
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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