About this document
Liang Barsky Clipping Algorithm Code by Tim Woo is a document available to read on EtoBox.
The document describes Liang Barsky line clipping algorithm. It provides input coordinates for two endpoints of a line and the boundaries of a clipping window. The code implements the line clipping algorithm by calculating the parametric values t1 and t2 to determine the intersection points of the line with the clipping window boundaries. It then draws the clipped line within the window boundaries.
- Author
- Tim Woo
- Language
- EN