WLJS LogoWLJS Notebook

WindingCount

WindingCount[contour, p] gives the count of the number of times a closed curve winds around a point p.

Examples

WindingCount[Circle[], {0, 0}]
WindingCount[Polygon[{{0, 0}, {1, 0}, {1, 1}, {0, 1}}], {0.5, 0.5}]

Please visit the official Wolfram Language Reference for more details.

On this page