{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,6]],"date-time":"2026-10-06T10:13:23Z","timestamp":1791281603613,"version":"4.1.0"},"reference-count":69,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2021,7,19]],"date-time":"2021-07-19T00:00:00Z","timestamp":1626652800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["DGE-1656518"],"award-info":[{"award-number":["DGE-1656518"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Graph."],"published-print":{"date-parts":[[2021,8,31]]},"abstract":"<jats:p>It is increasingly common to model, simulate, and process complex materials based on loopy structures, such as in yarn-level cloth garments, which possess topological constraints between inter-looping curves. While the input model may satisfy specific topological linkages between pairs of closed loops, subsequent processing may violate those topological conditions. In this paper, we explore a family of methods for efficiently computing and verifying linking numbers between closed curves, and apply these to applications in geometry processing, animation, and simulation, so as to verify that topological invariants are preserved during and after processing of the input models. Our method has three stages: (1) we identify potentially interacting loop-loop pairs, then (2) carefully discretize each loop's spline curves into line segments so as to enable (3) efficient linking number evaluation using accelerated kernels based on either counting projected segment-segment crossings, or by evaluating the Gauss linking integral using direct or fast summation methods (Barnes-Hut or fast multipole methods). We evaluate CPU and GPU implementations of these methods on a suite of test problems, including yarn-level cloth and chainmail, that involve significant processing: physics-based relaxation and animation, user-modeled deformations, curve compression and reparameterization. We show that topology errors can be efficiently identified to enable more robust processing of loopy structures.<\/jats:p>","DOI":"10.1145\/3450626.3459778","type":"journal-article","created":{"date-parts":[[2021,7,20]],"date-time":"2021-07-20T00:04:27Z","timestamp":1626739467000},"page":"1-19","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":19,"title":["Fast linking numbers for topology verification of loopy structures"],"prefix":"10.1145","volume":"40","author":[{"given":"Ante","family":"Qu","sequence":"first","affiliation":[{"name":"Stanford University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Doug L.","family":"James","sequence":"additional","affiliation":[{"name":"Stanford University"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,7,19]]},"reference":[{"key":"e_1_2_2_1_1","first-page":"104","article-title":"A rigorous numerical algorithm for computing the linking number of links. Nonlinear Theory and Its Applications","volume":"4","author":"Arai Zin","year":"2013","unstructured":"Zin Arai . 2013 . A rigorous numerical algorithm for computing the linking number of links. Nonlinear Theory and Its Applications , IEICE 4 , 1 (2013), 104 -- 110 . Zin Arai. 2013. A rigorous numerical algorithm for computing the linking number of links. Nonlinear Theory and Its Applications, IEICE 4, 1 (2013), 104--110.","journal-title":"IEICE"},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/280814.280821"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/882262.882357"},{"key":"e_1_2_2_4_1","volume-title":"James","author":"Barbi\u010d Jernej","year":"2010","unstructured":"Jernej Barbi\u010d and Doug L . James . 2010 . Subspace Self-Collision Culling. ACM Trans. on Graphics (SIGGRAPH 2010) 29, 4 (2010), 81:1--81:9. Jernej Barbi\u010d and Doug L. James. 2010. Subspace Self-Collision Culling. ACM Trans. on Graphics (SIGGRAPH 2010) 29, 4 (2010), 81:1--81:9."},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3197517.3201337"},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1038\/324446a0"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-00837-5_2"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/1778765.1778853"},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1360612.1360662"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2461912.2462027"},{"key":"e_1_2_2_12_1","volume-title":"Efficient computation of linking number with certification. arXiv preprint arXiv:1912.13121","author":"Bertolazzi Enrico","year":"2019","unstructured":"Enrico Bertolazzi , Riccardo Ghiloni , and Ruben Specogna . 2019. Efficient computation of linking number with certification. arXiv preprint arXiv:1912.13121 ( 2019 ). Enrico Bertolazzi, Riccardo Ghiloni, and Ruben Specogna. 2019. Efficient computation of linking number with certification. arXiv preprint arXiv:1912.13121 (2019)."},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/566570.566623"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/2185520.2185592"},{"key":"e_1_2_2_15_1","unstructured":"Herv\u00e9 Br\u00f6nnimann Andreas Fabri Geert-Jan Giezeman Susan Hert Michael Hoffmann Lutz Kettner Sylvain Pion and Stefan Schirra. 2021. 2D and 3D Linear Geometry Kernel. In CGAL User and Reference Manual (5.2.1 ed.). CGAL Editorial Board. https:\/\/doc.cgal.org\/5.2.1\/Manual\/packages.html#PkgKernel23  Herv\u00e9 Br\u00f6nnimann Andreas Fabri Geert-Jan Giezeman Susan Hert Michael Hoffmann Lutz Kettner Sylvain Pion and Stefan Schirra. 2021. 2D and 3D Linear Geometry Kernel. In CGAL User and Reference Manual (5.2.1 ed.). CGAL Editorial Board. https:\/\/doc.cgal.org\/5.2.1\/Manual\/packages.html#PkgKernel23"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1016\/B978-0-12-384988-5.00006-1"},{"key":"e_1_2_2_17_1","volume-title":"FMMTL: FMM Template Library A Generalized Framework for Kernel Matrices. In Numerical Mathematics and Advanced Applications - ENUMATH","author":"Cecka Cris","year":"2015","unstructured":"Cris Cecka and Simon Layton . 2015 . FMMTL: FMM Template Library A Generalized Framework for Kernel Matrices. In Numerical Mathematics and Advanced Applications - ENUMATH 2013, Assyr Abdulle, Simone Deparis , Daniel Kressner, Fabio Nobile, and Marco Picasso (Eds.). Springer International Publishing , Cham, 611--620. Cris Cecka and Simon Layton. 2015. FMMTL: FMM Template Library A Generalized Framework for Kernel Matrices. In Numerical Mathematics and Advanced Applications - ENUMATH 2013, Assyr Abdulle, Simone Deparis, Daniel Kressner, Fabio Nobile, and Marco Picasso (Eds.). Springer International Publishing, Cham, 611--620."},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/545261.545273"},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcph.1999.6355"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1021\/ct200657e"},{"key":"e_1_2_2_21_1","volume-title":"Paris","author":"Casteljau Paul De","year":"1959","unstructured":"Paul De Casteljau . 1959. Outillages m\u00e9thodes calcul. Andr e Citro en Automobiles SA , Paris ( 1959 ). Paul De Casteljau. 1959. Outillages m\u00e9thodes calcul. Andr e Citro en Automobiles SA, Paris (1959)."},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/2461912.2462017"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.cad.2009.01.001"},{"key":"e_1_2_2_24_1","volume-title":"Algorithms in Bioinformatics, Olivier Gascuel and Bernard M","author":"Edelsbrunner Herbert","unstructured":"Herbert Edelsbrunner and Afra Zomorodian . 2001. Computing linking numbers of a filtration . In Algorithms in Bioinformatics, Olivier Gascuel and Bernard M . E. Moret (Eds.). Springer, Springer , Berlin, Heidelberg , 112--127. Herbert Edelsbrunner and Afra Zomorodian. 2001. Computing linking numbers of a filtration. In Algorithms in Bioinformatics, Olivier Gascuel and Bernard M. E. Moret (Eds.). Springer, Springer, Berlin, Heidelberg, 112--127."},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0097-8493(96)00067-2"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1073\/pnas.75.8.3557"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1016\/0021-9991(87)90140-9"},{"key":"e_1_2_2_28_1","volume-title":"SYM-ILDL: Incomplete LDLT Factorization of Symmetric Indefinite and Skew-Symmetric Matrices. CoRR abs\/1505.07589","author":"Greif Chen","year":"2015","unstructured":"Chen Greif , Shiwen He , and Paul Liu . 2015. SYM-ILDL: Incomplete LDLT Factorization of Symmetric Indefinite and Skew-Symmetric Matrices. CoRR abs\/1505.07589 ( 2015 ). arXiv:1505.07589 http:\/\/arxiv.org\/abs\/1505.07589 Chen Greif, Shiwen He, and Paul Liu. 2015. SYM-ILDL: Incomplete LDLT Factorization of Symmetric Indefinite and Skew-Symmetric Matrices. CoRR abs\/1505.07589 (2015). arXiv:1505.07589 http:\/\/arxiv.org\/abs\/1505.07589"},{"key":"e_1_2_2_29_1","unstructured":"Ga\u00ebl Guennebaud Beno\u00eet Jacob etal 2010. Eigen v3. http:\/\/eigen.tuxfamily.org.  Ga\u00ebl Guennebaud Beno\u00eet Jacob et al. 2010. Eigen v3. http:\/\/eigen.tuxfamily.org."},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/513400.513405"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3424630.3425409"},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/2070781.2024171"},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1111\/j.1467-8659.2009.01369.x"},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/IROS.2010.5652787"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/3306346.3322973"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/1028523.1028541"},{"key":"e_1_2_2_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/2461912.2461916"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1399504.1360664"},{"key":"e_1_2_2_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/1833349.1778842"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/2601097.2601100"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1111\/cgf.14111"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3306346.3323014"},{"key":"e_1_2_2_43_1","doi-asserted-by":"publisher","DOI":"10.1002\/1097-0282(20001015)54:5"},{"key":"e_1_2_2_44_1","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevLett.121.148001"},{"key":"e_1_2_2_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3272127.3275105"},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.addma.2016.05.012"},{"key":"e_1_2_2_47_1","doi-asserted-by":"publisher","DOI":"10.1016\/0024-3795(89)90495-3"},{"key":"e_1_2_2_48_1","volume-title":"Link groups. Annals of Mathematics","author":"Milnor John","year":"1954","unstructured":"John Milnor . 1954. Link groups. Annals of Mathematics ( 1954 ), 177--195. John Milnor. 1954. Link groups. Annals of Mathematics (1954), 177--195."},{"key":"e_1_2_2_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/3186265"},{"key":"e_1_2_2_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3306346.3322995"},{"key":"e_1_2_2_52_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICRA.2013.6630710"},{"key":"e_1_2_2_53_1","volume-title":"Knots and links. Publish or Perish","author":"Rolfsen Dale","unstructured":"Dale Rolfsen . 1976. Knots and links. Publish or Perish , Berkeley, CA . Dale Rolfsen. 1976. Knots and links. Publish or Perish, Berkeley, CA."},{"key":"e_1_2_2_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/73833.73857"},{"key":"e_1_2_2_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/1360612.1360663"},{"key":"e_1_2_2_56_1","first-page":"3","article-title":"Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric Predicates","volume":"18","author":"Shewchuk Jonathan Richard","year":"1997","unstructured":"Jonathan Richard Shewchuk . 1997 . Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric Predicates . Discrete & Computational Geometry 18 , 3 (Oct. 1997), 305--363. Jonathan Richard Shewchuk. 1997. Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric Predicates. Discrete & Computational Geometry 18, 3 (Oct. 1997), 305--363.","journal-title":"Discrete & Computational Geometry"},{"key":"e_1_2_2_57_1","doi-asserted-by":"publisher","DOI":"10.1101\/2020.09.17.301309"},{"key":"e_1_2_2_58_1","doi-asserted-by":"publisher","DOI":"10.1111\/j.1467-8659.2008.01147.x"},{"key":"e_1_2_2_59_1","volume-title":"Chrono: An Open Source Multi-physics Dynamics Engine. In High Performance Computing in Science and Engineering, Tom\u00e1\u0161 Kozubek, Radim Blaheta, Jakub \u0160\u00edstek, Miroslav Rozlo\u017en\u00edk, and Martin \u010cerm\u00e1k (Eds.)","author":"Tasora Alessandro","year":"2016","unstructured":"Alessandro Tasora , Radu Serban , Hammad Mazhar , Arman Pazouki , Daniel Melanz , Jonathan Fleischmann , Michael Taylor , Hiroyuki Sugiyama , and Dan Negrut . 2016 . Chrono: An Open Source Multi-physics Dynamics Engine. In High Performance Computing in Science and Engineering, Tom\u00e1\u0161 Kozubek, Radim Blaheta, Jakub \u0160\u00edstek, Miroslav Rozlo\u017en\u00edk, and Martin \u010cerm\u00e1k (Eds.) . Springer International Publishing , Cham , 19--49. Alessandro Tasora, Radu Serban, Hammad Mazhar, Arman Pazouki, Daniel Melanz, Jonathan Fleischmann, Michael Taylor, Hiroyuki Sugiyama, and Dan Negrut. 2016. Chrono: An Open Source Multi-physics Dynamics Engine. In High Performance Computing in Science and Engineering, Tom\u00e1\u0161 Kozubek, Radim Blaheta, Jakub \u0160\u00edstek, Miroslav Rozlo\u017en\u00edk, and Martin \u010cerm\u00e1k (Eds.). Springer International Publishing, Cham, 19--49."},{"key":"e_1_2_2_60_1","doi-asserted-by":"publisher","DOI":"10.1109\/TBME.1983.325207"},{"key":"e_1_2_2_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/1179352.1142007"},{"key":"e_1_2_2_62_1","volume-title":"A review of collision detection for deformable objects. Computer Animation and Virtual Worlds","author":"Wang Monan","year":"2021","unstructured":"Monan Wang and Jiaqi Cao . 2021. A review of collision detection for deformable objects. Computer Animation and Virtual Worlds ( 2021 ). Monan Wang and Jiaqi Cao. 2021. A review of collision detection for deformable objects. Computer Animation and Virtual Worlds (2021)."},{"key":"e_1_2_2_63_1","doi-asserted-by":"publisher","DOI":"10.1145\/3197517.3201360"},{"key":"e_1_2_2_64_1","doi-asserted-by":"publisher","DOI":"10.1145\/3292481"},{"key":"e_1_2_2_65_1","doi-asserted-by":"publisher","DOI":"10.1145\/3023368.3023372"},{"key":"e_1_2_2_66_1","doi-asserted-by":"publisher","DOI":"10.1145\/3414685.3417865"},{"key":"e_1_2_2_67_1","volume-title":"Conditionally accepted preprint","author":"Yu Christopher","year":"2020","unstructured":"Christopher Yu , Henrik Schumacher , and Keenan Crane . 2020. Repulsive Curves . ACM Trans . Graph. ( 2020 ). Conditionally accepted preprint . Christopher Yu, Henrik Schumacher, and Keenan Crane. 2020. Repulsive Curves. ACM Trans. Graph. (2020). Conditionally accepted preprint."},{"key":"e_1_2_2_68_1","doi-asserted-by":"publisher","DOI":"10.1145\/2185520.2185533"},{"key":"e_1_2_2_69_1","doi-asserted-by":"publisher","DOI":"10.15607\/RSS.2012.VIII.059"},{"key":"e_1_2_2_70_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.cad.2007.05.012"},{"key":"e_1_2_2_71_1","doi-asserted-by":"publisher","DOI":"10.1145\/2185520.2185594"}],"container-title":["ACM Transactions on Graphics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3450626.3459778","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3450626.3459778","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3450626.3459778","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T20:17:16Z","timestamp":1750191436000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3450626.3459778"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,7,19]]},"references-count":69,"aliases":["10.1145\/3476576.3476669"],"journal-issue":{"issue":"4","published-print":{"date-parts":[[2021,8,31]]}},"alternative-id":["10.1145\/3450626.3459778"],"URL":"https:\/\/doi.org\/10.1145\/3450626.3459778","relation":{},"ISSN":["0730-0301","1557-7368"],"issn-type":[{"value":"0730-0301","type":"print"},{"value":"1557-7368","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,7,19]]},"assertion":[{"value":"2021-07-19","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}