Fast and exact winding numbers for triangle meshes
Xie P, Hafner C, Wojtan C. 2026. Fast and exact winding numbers for triangle meshes. ACM Transactions on Graphics. 45(4), 41.
Download
DOI
Journal Article
| Published
| English
Scopus indexed
Corresponding author has ISTA affiliation
Department
Grant
Abstract
We revisit the computation of 3D generalized winding numbers, a useful measure for inside-outside classification on triangle meshes with gaps, self-intersections, and open boundaries. At the core of our new method is an analytical reduction of the surface integral that defines the winding number, resulting in a single ray-mesh intersection test and an elementary sum over boundary edges per evaluation. This construction is orders of magnitude more efficient than the state of the art in practice, which we show in an extensive performance benchmark. Conveniently, the method also reduces to the best-available asymptotic complexity in the worst case, and it introduces no approximations apart from floating-point errors. Our algorithm is conceptually simple to understand, straightforward to implement and debug, and it works reliably even on extremely noisy and corrupt input geometry.
Publishing Year
Date Published
2026-07-03
Journal Title
ACM Transactions on Graphics
Publisher
Association for Computing Machinery
Acknowledgement
We thank Sadashige Ishida and Ryusuke Sugimoto for their insightful discussions and proofreading and other members of the ISTA
Visual Computing Group for their general feedback. This project was
funded in part by the European Research Council (ERC Consolidator
Grant 101045083 CoDiNA).
Volume
45
Issue
4
Article Number
41
ISSN
eISSN
IST-REx-ID
Cite this
Xie P, Hafner C, Wojtan C. Fast and exact winding numbers for triangle meshes. ACM Transactions on Graphics. 2026;45(4). doi:10.1145/3811339
Xie, P., Hafner, C., & Wojtan, C. (2026). Fast and exact winding numbers for triangle meshes. ACM Transactions on Graphics. Association for Computing Machinery. https://doi.org/10.1145/3811339
Xie, Peiyuan, Christian Hafner, and Chris Wojtan. “Fast and Exact Winding Numbers for Triangle Meshes.” ACM Transactions on Graphics. Association for Computing Machinery, 2026. https://doi.org/10.1145/3811339.
P. Xie, C. Hafner, and C. Wojtan, “Fast and exact winding numbers for triangle meshes,” ACM Transactions on Graphics, vol. 45, no. 4. Association for Computing Machinery, 2026.
Xie P, Hafner C, Wojtan C. 2026. Fast and exact winding numbers for triangle meshes. ACM Transactions on Graphics. 45(4), 41.
Xie, Peiyuan, et al. “Fast and Exact Winding Numbers for Triangle Meshes.” ACM Transactions on Graphics, vol. 45, no. 4, 41, Association for Computing Machinery, 2026, doi:10.1145/3811339.
All files available under the following license(s):
Creative Commons Attribution 4.0 International Public License (CC-BY 4.0):
Main File(s)
File Name
Access Level
Open Access
Date Uploaded
2026-07-06
MD5 Checksum
7e36e69f377b680a893e65b620b43813
