A new fully projective O(lg N) line convex polygon intersection algorithm

DOI: https://doi.org/10.1007/s00371-024-03413-3
IF: 2.835
2024-06-07
The Visual Computer
Abstract:Intersecting algorithms, especially line clipping in and in computer graphics, have been studied for a long time. Many different algorithms have been developed. The simplest case is a line clipping by a convex polygon in with O(N) computational complexity and with known polygon edges orientation. This contribution presents a new algorithm for a line clipping by a convex polygon in E with O(lg N) complexity, which is based on the point-in-half plane test. The proposed algorithm does not require prior knowledge of the polygon edge orientation. The vertices of the convex polygon and the clipped line can be given in projective space using homogeneous coordinates. The algorithm uses vector–vector operations for efficient implementation with SSE or AVX vector–vector instructions or on GPUs. It is simple and robust.
computer science, software engineering
What problem does this paper attempt to address?