检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]大连交通大学软件学院数字媒体教研室,辽宁大连116052
出 处:《图学学报》2012年第5期51-56,共6页Journal of Graphics
摘 要:在圆形窗口圆心为坐标原点的前提下,确定两端点同时在外切正方形某边界之外或至少有一端点在圆形窗口之内的线段之后,当线段两端点都在圆形窗口之外时:如果线段所在直线在x或y任意坐标轴上截距的绝对值小于或等于圆半径r,则可快速判断线段与圆形窗口是否相交;否则,再根据点-线位置关系以及所引切线与线段分别相交外切正方形边的交点坐标相比较判断线段与圆形窗口是否相交。该方法可以加快线段与圆形窗口的求交进程,避免复杂的辅助操作,显著提高裁剪效率。Based on the premise that the center of circle is the coordinate origin, when the two endpoints of a line segment are outside circular window after the line segment that both endpoints are outside any boundary of circumscribed-square or at least one endpoint is inside circular window is determined: if the absolute value of the intercept on x coordinate axis or y coordinate axis is less than or equal to radius r, the intersection can be identified quickly; otherwise, the intersection is identified according to point-line relation and comparison of coordinates of intersections when the tangent and the line segment separately cross the edge of circumscribed-square. The new algorithm can quickly calculate the intersections between a line segment and circular window, avoid the complicated auxiliary operation and further improve the clipping efficiency.
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.223.209.231