Liang Barsky line clipping algorithm:
The algorithm uses parametric form of the line segment. Four inequalities are created using the parametric form of the line segments. These inequalities are used for processing the line segment in an efficient way.