[1]刘晖,田泽,黎小玉,等.IPC平面裁剪算法的设计与实现[J].计算机技术与发展,2014,24(02):224-228.
 LIU Hui,TIAN Ze,LI Xiao-yu,et al.Design and Implementation of IPC Arithmetic Used in Plane Clipping[J].,2014,24(02):224-228.
点击复制

IPC平面裁剪算法的设计与实现()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
24
期数:
2014年02期
页码:
224-228
栏目:
应用开发研究
出版日期:
2014-02-28

文章信息/Info

Title:
Design and Implementation of IPC Arithmetic Used in Plane Clipping
文章编号:
1673-629X(2014)02-0224-05
作者:
刘晖田泽黎小玉陈佳
中航工业西安航空计算技术研究所
Author(s):
LIU HuiTIAN ZeLI Xiao-yuCHEN Jia
关键词:
平面裁剪Sutherland-Hodgman算法凹多边形综合多边形裁剪算法
Keywords:
plane clipSutherland-Hodgman arithmeticconcave polygonIPC (Integrated Polygon Clip) arithmetic
分类号:
TP301
文献标志码:
A
摘要:
Sutherland-Hodgman算法是平面裁剪中常用的一种算法,其以顶点序列为基准,对多边形进行逐边裁剪,算法实现简单、效率高,但不适用于对凹多边形进行裁剪。文中以Sutherland-Hodgman算法(文中称为预处理算法)思想为基础,提出了一种亦可对凹多边形进行裁剪的综合多边形裁剪(Integrated Polygon Clip,IPC)算法,实现了对多边形裁剪的统一化操作。介绍了平面裁剪的使用对象,预处理裁剪算法的原理及实现关键步骤,分析了该算法用于对凹多边形裁剪的局限性,在此基础上提出一种适用于任意多边形裁剪的算法。以例证的方式演示了算法的过程,验证了算法的正确性。验证结果表明IPC算法实现了对多边形的统一裁剪。
Abstract:
Sutherland-Hodgman arithmetic is commonly used in clipping plane,that arithmetic implements polygon clipping one side by another in the order of vertex sequence. The arithmetic is easy to realize and high efficiency,but not support for the concave polygon clip-ping. Based upon Sutherland-Hodgman arithmetic (also called preprocessing arithmetic),rise an IPC (Integrated Polygon Clip) arithme-tic,that also can be used in concave polygon clipping,realized the unification of polygon cutting operation. Introduce the objection of plan clipping,the theory of preprocessing arithmetic and its key point in implementation,analyze the arithmetic's limitations,then rise a new arithmetic,supported in all polygon clipping. In the way of illustration,it proves the correctness of the new arithmetic. The result indicates that IPC arithmetic realizes the polygon clipping with consolidated actions.
更新日期/Last Update: 1900-01-01