This is a C++ project that uses Windows API and OpenGL to create a graphical user interface (GUI) for drawing and manipulating 2D shapes. The project implements various algorithms for line, circle, ...
The fast line clipping algorithm that reduces the chances of clipping a single line segment multiple times, as may happen in the Cohen-Sutherland algorithm ...
Abstract: This algorithm supports line clipping against a rectangular window with edges parallel to the screen. The algorithm combines different categories of lines for solutions. Each category of ...
Abstract: Cohen-Sutherland clipping algorithm may produce the invalid intersection points, which will reduce the efficiency of the whole algorithm. To avoid the shortcoming, this paper has put forward ...