Clipping: Polygon
Procedure: Sutherland-Hodgeman Polygon Clipping Experiment
Fix Clipping Window:
- Ensure the parameters for the clipping window are filled in the input boxes.
Start Experiment with Default Values:
- Enter the vertices of the polygon in the input box using the format: (x1, y1), (x2, y2), (x3, y3), (x4, y4), (x5, y5)
- These vertices represent the polygon's consecutive order, with the last vertex connected to the first to complete the polygon.
- Default vertices are pre-filled. Finalize the coordinates and click on "Submit" to begin.
Navigate Through Experiment:
- During the experiment, click on "Next" to progress to the next step of the Sutherland-Hodgeman Algorithm.
Conduct Multiple Experiments:
- After the experiment concludes, you can experiment with new sets of polygon vertices.
This procedure guides you through the steps of the Sutherland-Hodgeman Polygon Clipping Experiment, allowing you to fix the clipping window, start the experiment with default or custom polygon vertices, navigate through iterations, and conduct multiple experiments as needed.