Opening book details…
Can I read Sutherland-Hodgman Polygon Clipping on EtoBox?
Sutherland-Hodgman Polygon Clipping by sukaran123 is a document available to read on EtoBox.
What is Sutherland-Hodgman Polygon Clipping about?
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