Skip to main content
Have a personal or library account? Click to login
A novel and efficient approach for line segment clipping against a convex polygon Cover

A novel and efficient approach for line segment clipping against a convex polygon

Open Access
|Dec 2019

Abstract

This paper proposes a new line clipping algorithm against a convex polygon with O (N) time complexity. The line segment is pruned against each extended edge of the polygon as the first step of the proposed algorithm. Then, the pruning process gives accurate outcomes for completely inside and partially inside line segments only. It could be observed that the endpoints of completely outside line segments coincide after the pruning process. The algorithm was developed based on this observation. The proposed algorithm was compared against the four existing algorithms both theoretically and experimentally. The proposed algorithm is faster than Cyrus Beck algorithm and it is slower than ECB, Rappaport, and Skala algorithms.

Language: English
Page range: 161 - 173
Published on: Dec 31, 2019
Published by: University of Ruhuna
In partnership with: Paradigm Publishing Services

© 2019 Kasun Ranga Wijeweera, Saluka Ranasinghe Kodituwakku, Mahawaga Arachchige Pathum Chamikara, published by University of Ruhuna
This work is licensed under the Creative Commons Attribution-NonCommercial 4.0 License.