基于交点参数的任意多边形窗口对圆裁剪  被引量:1

Circle Clipping by Arbitrary Polygon Window Based on Intersection Point Parametric Method

在线阅读下载全文

作  者:李晓武 陈平[1] LI Xiao-Wu;CHEN Ping(School of Mechanical Engineering,University of Science and Technology Beijing,Beijing 100083,China)

机构地区:[1]北京科技大学机械工程学院,北京100083

出  处:《计算机系统应用》2022年第8期239-244,共6页Computer Systems & Applications

基  金:北京科技大学青年教学骨干人才培养计划(2018JXGGRC)。

摘  要:现有的任意多边形窗口的圆裁剪算法存在算法繁琐等问题,且没有考虑多边形是带内环的情况,本文提出了一种基于交点参数分析的多边形窗口的圆裁剪算法,只需对多边形边与圆的交点在边所在直线的参数值进行比较,即可判断出交点的进出点特性,交点排序后,通过进点出点组合,即可获得裁剪窗口内的圆弧,完成裁剪.编程实践的实例结果也证明本算法是切实可行的,本文的方法既适用于仅有外环的一般多边形裁剪窗口,也适用于带内环的任意多边形裁剪窗口的圆裁剪,因此,算法更具有通用性.The existing algorithms of circle clipping against an arbitrary polygon window suffers from complex steps and do not consider the case where the polygon contains an inner ring.Thus,this study presents a new algorithm based on the parameter analysis of intersection points for circle clipping against an arbitrary polygon window.In this algorithm,only by comparing the parameter values of the intersection points on the directional line of the edge,one can classify the intersection points into entry points and exit points.After the intersection points are sorted out,the arcs within the clipping window can be obtained with the combinations of“entry point exit point.”The proposed algorithm is proved feasible by programming results and is universal to circle clipping against an arbitrary polygon window,even if the polygon contains an inner ring.

关 键 词:圆裁剪 任意多边形窗口 交点进出点特性 交点参数 

分 类 号:TP391.41[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象