Implementation of the algorithm for cutting a segment of a line
The principles of operation of the Sutherland - Cohen segment cutting algorithm are considered. The Sutherland - Cohen algorithm is implemented in the Microsoft Visual Studio programming environment.