Cyrus–Beck algorithm
In computer graphics, the Cyrus–Beck algorithm is a generalized algorithm for line clipping.[src] It was designed to be more efficient than the Cohen–Sutherland algorithm, which uses repetitive clipping.[src] Cyrus–Beck is a general algorithm and can be used with a convex polygon clipping window, unlike Cohen-Sutherland, which can be used only on a rectangular clipping area.[src] Here the parametric equation of a line in the view plane is \mathbf p(t) = t \mathbf p_1 + (1 - t) \mathbf p_0 where 0 \leq t \leq 1 .[src] Now to find the intersection point with the clipping window, we calculate the value of the dot product.[src] Let be a point on the clipping plane .[src] Calculate \mathbf n \cdot (\mathbf p(t) - \mathbf p_E) : * if 0, vector pointed away from interior.[src] Here stands for normal of the current clipping plane (pointed away from interior).[src] By this we select the point of intersection of line and clipping window where (dot product is 0) and hence clip the line.[src]
In computer graphics, the Cyrus–Beck algorithm is a generalized algorithm for line clipping.[src] It was designed to be more efficient than the Cohen–Sutherland algorithm, which uses repetitive clipping.[src] Cyrus–Beck is a general algorithm and can be used with a convex polygon clipping window, unlike Cohen-Sutherland, which can be used only on a rectangular clipping area.[src] Here the parametric equation of a line in the view plane is \mathbf p(t) = t \mathbf p_1 + (1 - t) \mathbf p_0 where 0 \leq t \leq 1 .[src] Now to find the intersection point with the clipping window, we calculate the value of the dot product.[src] Let be a point on the clipping plane .[src] Calculate \mathbf n \cdot (\mathbf p(t) - \mathbf p_E) : if 0, vector pointed away from interior.[src] Here stands for normal of the current clipping plane (pointed away from interior).[src] By this we select the point of intersection of line and clipping window where (dot product is 0) and hence clip the line.[src] ==Notes== ==See also== Algorithms used for the same purpose: Cohen–Sutherland algorithm Liang–Barsky algorithm Nicholl–Lee–Nicholl algorithm Fast clipping References in other media: Tron: Uprising ==References== Mike Cyrus, Jay Beck.[src] "Generalized two- and three-dimensional clipping".[src] Computers & Graphics, 1978: 23–28.[src] James D.[src] Foley.[src] Computer graphics: principles and practice.[src] Addison-Wesley Professional, 1996.[src] p. 117.[src] ==External links== https://web.archive.org/web/20101203041134/http://cs1.bradley.edu/public/jcm/cs535CyrusBeck.html https://web.archive.org/web/20110725233122/http://softsurfer.com/Archive/algorithm_0111/algorithm_0111.htm[src]
27 sentences · 27 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Cyrus–Beck algorithm." encyclopegia.org, 2025, https://encyclopegia.org/wiki/cyrus-beck-algorithm. Accessed 25 November 2026.
Chicago
"Cyrus–Beck algorithm." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/cyrus-beck-algorithm.
APA
encyclopegia.org. (2025). Cyrus–Beck algorithm. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/cyrus-beck-algorithm
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON