Winding

The winding number is intimately connected to the sideof function, which is used more often in applications.

points = [Point(0, 0), Point(0.2, 0.2), Point(2, 1)]
polygon = Triangle((0, 0), (1, 0), (0, 1))

winding(points, boundary(polygon))
3-element Vector{Float64}:
 0.25
 1.0
 0.0