首页 | 本学科首页   官方微博 | 高级检索  
     

A New Algorithm for Two-Dimensional Line Clipping via Geometric Transformation
作者姓名:Wang Haohong  Wu Ruixun  Cai Shijie
作者单位:DepartmentofComputerScienceandTechnology,StateKeyLaboratoryofNovelSoftwareTechnology,NanjingUniversit
摘    要:Line segment clipping is a basic operation of the visualization process in computer graphics.So far there exist four computational models for clipping a line segment against a window,(1)the encoding,(2)the parametric,(3)the geometric transforma tion,and (4)the parallel cutting.This paper presents an algorithm that is based on the third method.By making use of symmetric properties of a window and transformation operations,both endpoints of a line segment are transformed,so that the basic cases are reduced into two that can be easily handled,thus the problems in NLN and AS where there are too many sub-procedure calls and basic cases that are difficult to deal with are tackled.Both analytical and experimental results from random input data show that the algorithm is better than other developed ones,in view of the speed and the number of operations.

关 键 词:计算机显象  图象剪辑  几何变换

A new algorithm for two-dimensional line clipping via geometric transformation
Wang Haohong,Wu Ruixun,Cai Shijie.A New Algorithm for Two-Dimensional Line Clipping via Geometric Transformation[J].Journal of Computer Science and Technology,1998,13(5):410-416.
Authors:Haohong Wang  Ruixun Wu  Shijie Cai
Affiliation:(1) Department of Computer Science and Technology, State Key Laboratory of Novel Software Technology, Nanjing University, 210093 Nanjing, P.R. China
Abstract:Line segment clipping is a basic operation of the visualization process in computer graphics. So far there exist four computational models for clipping a line segment against a window, (1) the encoding, (2) the parametric, (3) the geometric transformation, and (4) the parallel cutting. This paper presents an algorithm that is based on the third method. By making use of symmetric properties of a window and transformation operations, both endpoints of a line segment are transformed, so that the basic cases are reduced into two that can be easily handled, thus the problems in NLN and AS where there are too many sulyprocedure calls and basic cases that are difficult to deal with are tackled. Both analytical and experimental results from random input data show that the algorithm is better than other developed ones, in view of the speed and the number of operations.
Keywords:Clipping  line clipping  geometric transformation
本文献已被 CNKI 维普 SpringerLink 等数据库收录!
点击此处可从《计算机科学技术学报》浏览原始摘要信息
点击此处可从《计算机科学技术学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号