检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:任洪海[1]
出 处:《大连交通大学学报》2013年第2期104-108,共5页Journal of Dalian Jiaotong University
摘 要:通过分析圆形窗口与其外切正方形的位置关系,引入角区概念.根据被裁剪线段相对于外切正方形及角区的位置快速判断线段是否与圆形窗口相交.通过端点向所涉及的关键点引射线并比较被裁剪线段斜率与射线斜率来区分被裁剪线段与外切正方形的相交区域.如果被裁剪线段相交于同一角区外界,根据该角区上的两交点确定线段是否与圆形窗口相交;如果被裁剪线段相交于不同角区外界,可直接确定线段是否与圆形窗口相交,不必求与外切正方形的交点.该方法避免了复杂的辅助操作,简化求交过程,显著提高裁剪效率.Based on the analysis of the position relations among circular window and the circumscribed-square,the corner region is introduced.The intersection can be identified quickly according to positions of a line segment in relation to the circumscribed-square and the corner regions.The regions that the line crosses the circumscribed-square are distinguished by drawing the semi-infinite line segments from one endpoint to the involved key points and comparing the slope of the line segment to the slopes of the semi-infinite line segments.If the line segment crosses the boundaries of a corner region,the intersection can be determined according to the two intersection points in the corner region.If the line segment crosses the boundaries of the two different corner regions,the intersection can be determined immediately,and the intersection calculation is unnecessary.The new algorithm further improves the clipping efficiency due to the avoidance of the complicated auxiliary operation and the simplification of the intersection calculation.
关 键 词:计算机应用 圆形窗口线裁剪 外切正方形 角区 斜率比较
分 类 号:TP391.41[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.138.202.226