期刊文献+

两凸多边形交集面积的计算机算法 被引量:1

Computer Algorithm for Intersection Area of Two Convex Polygons
下载PDF
导出
摘要 为了求解两个平面凸多边形的交集面积,对原有的六步法进行了改进.在求交点的过程中,通过判断线段之间是否排斥和跨立来确定线段之间是否相交;在交集顶点的排序过程中,通过各点相对于起始点的方位角余弦值大小对交集顶点进行排序.整个求面积的过程易于实现,时间复杂度为O(mn),其中,m和n分别为两个凸多边形的顶点数目. In order to solve the intersection area of two planar convex polygons,this paper improves the original six step method.In the process of finding the intersection point,this paper determines whether the line segments intersect by judging whether they repel and straddle.In the process of sorting the intersection vertices,the intersection vertices are sorted by the cosine value of the azimuth angle of each point relative to the starting point.The time complexity is O(MN),where m and n are the number of vertices of two convex polygons respectively.
作者 温锦辉 李坤 黄江兰 田立勤 栾尚敏 WEN Jinhui;LI Kun;HUANG Jianglan;TIAN Liqin;LUAN Shangmin(College of Safety Engineering,North China Institute of Science and Technology,East Yanjiao,Beijing 101601,China;College of Computer,North China Institute of Science and Technology,East Yanjiao,Beijing 101601,China)
出处 《数学建模及其应用》 2021年第2期44-48,共5页 Mathematical Modeling and Its Applications
基金 国家重点研发计划(2018YFC0808306) 河北省物联网监控中心(3142016020) 河北省重点项目(19270318D) 河北省重点研发计划项目(18210339) 河北省高等学校科学技术项目(Z2019044) 中央高校基本业务费(3142020018,HZXKT2020012)。
关键词 凸多边形交集 相交判断 顶点排序 convex polygon intersection intersection judgment vertex sorting
  • 相关文献

参考文献7

二级参考文献53

共引文献42

同被引文献8

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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