About this document
Sutherland-Hodgman Polygon Clipping by sukaran123 is a document available to read on EtoBox.
This document describes an algorithm for polygon clipping using the Sutherland-Hodgman algorithm. It defines functions for initializing graphics, inputting/sampling polygons, checking if points are inside the clipping window, calculating boundary conditions, solving intersection points, adding new points, and clipping the polygon. The main function initializes graphics, samples a test polygon, defines the clipping window, draws the original polygon, performs clipping, and draws the clipped polygon.
- Author
- sukaran123
- Language
- EN