# Another Simple but Faster Method for 2D Line Clipping

**Authors:** Dimitrios Matthes, Vasileios Drakopoulos

arXiv: 1908.01350 · 2019-08-06

## TL;DR

This paper introduces a new, faster, and simpler 2D line clipping method that outperforms existing algorithms in efficiency and ease of implementation.

## Contribution

A novel line clipping algorithm for 2D rectangles that improves speed and simplicity over traditional methods.

## Key findings

- Proposed method reduces computation time compared to existing algorithms.
- The new method involves fewer operations and is easier to implement.
- Performance tests show superior efficiency across various cases.

## 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 line-clipping 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 method 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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1908.01350/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/1908.01350/full.md

## References

29 references — full list in the complete paper: https://tomesphere.com/paper/1908.01350/full.md

---
Source: https://tomesphere.com/paper/1908.01350