Another Simple but Faster Method for 2D Line Clipping

 Another Simple but Faster Method for 2D Line Clipping


Dimitrios Matthes and Vasileios Drakopoulos, Department of Computer Science and Biomedical Informatics, School of Science, University of Thessaly, Lamia 35131, Greece


Abstract

The majority of methods for line clipping make a rather large number of comparisons and involve a lot of calculations compared to modern ones. Most of the times, they are not so efficient as well as not so simple and applicable to the majority of cases. Besides the most popular ones, namely, Cohen-Sutherland, Liang-Barsky, Cyrus-Beck and Nicholl-Lee-Nicholl, other lineclipping methods have been presented over the years, each one having its own advantages and disadvantages. In this paper a new computation method for 2D line clipping against a rectangular window is introduced. The proposed method has been compared with the afore-mentioned ones as well as with two others; namely, Skala and Kodituwakku-Wijeweera-Chamikara, with respect to the number of operations performed and the computation time. The performance of the proposed ethod has been found to be better than all of the above-mentioned methods and it is found to be very fast, simple and can be implemented easily in any programming language or integrated development environment.

Keywords

2D Computer Graphics; Computer Graphics Education; Geometry; Line Clipping; Programming Education; Computation method


Full Article: https://aircconline.com/ijcga/V9N3/9319ijcga01.pdf


Volume URL:https://airccse.org/journal/ijcga/vol9.html


https://airccse.org/journal/ijcga/index.html





Comments

Popular posts from this blog

International Journal of Computer Graphics & Animation (IJCGA) - EBSCO, ERA indexed

International Journal of Computer Graphics & Animation (IJCGA) - EBSCO, ERA indexed

International Journal of Computer Graphics & Animation (IJCGA) - EBSCO, ERA indexed