Source: wikibot/cyrus-beck-algorithm
= Cyrus–Beck algorithm
{wiki=Cyrus–Beck_algorithm}
The Cyrus–Beck algorithm is a method used in computer graphics for line clipping against convex polygonal regions. It is particularly effective for clipping lines against convex polygons, such as rectangles or any other simple polygons. The algorithm was introduced by John Cyrus and Barbara Beck in 1979 as an extension of the Liang–Barsky algorithm, which is primarily used for line clipping against axis-aligned rectangles.