Winding Number Algorithm

The point in poly problem is a classic computational geometry problem that involves determining whether a point is inside a polygon. The winding number is a measure of how many times a curve winds around a point. Read more at: devdiegomatos.com.br.

How to use: Click on "Draw Poly" button to add points to the polygon. Double click on the canvas when you finish drawing to close the polygon. Then click on the "Test Point" button to add a test point. The winding number will be calculated for the test point.

Winding Number:

Created by Diego Matos. Source: GitHub