We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
WindingCount[contour,p]
gives the count of the number of times a closed curve winds around a point p.
Examplesopen allclose all Basic Examples (1)Count how many times a closed curve winds around a point:
Scope (2)Count how many times a closed curve winds around a point:
Count how many times a polygon boundary curve winds around a point:
Applications (2)Find the polygon density of regular star polygons:
Color points by the winding count of the point around the given contour:
Properties & Relations (1) Possible Issues (1)A polygon boundary curve is always given in the counterclockwise orientation with no overlapping:
Wolfram Research (2019), WindingCount, Wolfram Language function, https://reference.wolfram.com/language/ref/WindingCount.html. TextWolfram Research (2019), WindingCount, Wolfram Language function, https://reference.wolfram.com/language/ref/WindingCount.html.
CMSWolfram Language. 2019. "WindingCount." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WindingCount.html.
APAWolfram Language. (2019). WindingCount. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WindingCount.html
BibTeX@misc{reference.wolfram_2025_windingcount, author="Wolfram Research", title="{WindingCount}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/WindingCount.html}", note=[Accessed: 11-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_windingcount, organization={Wolfram Research}, title={WindingCount}, year={2019}, url={https://reference.wolfram.com/language/ref/WindingCount.html}, note=[Accessed: 11-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4