Computer Science ›› 2026, Vol. 53 ›› Issue (9): 240-248.doi: 10.11896/jsjkx.260600085

• Computer Graphics & Multimedia • Previous Articles     Next Articles

Efficient Approximate Point-to-Mesh Distance Query via Sampling Proxies and Dynamic Programming

WANG Pengfei1, GUO Qinghao1, ZENG Qiong1, CHEN Shuangmin2, XIN Shiqing1 , TU Changhe1   

  1. 1 College of Computer Science and Technology,Shandong University,Qingdao,Shandong 266237,China
    2 College of Information Science and Technology,Qingdao University of Science and Technology,Qingdao,Shandong 266061,China
  • Received:2026-03-12 Revised:2026-06-17 Online:2026-09-15 Published:2026-09-10
  • About author:WANG Pengfei,born in 1998,Ph.D candidate,is a member of CCF(No.A18958G).His main research interests include computational geometry and computer graphics.
    CHEN Shuangmin,born in 1982,Ph.D,associate professor,is a member of CCF(No.J1285M).Her main research interests include computational geometry and computer graphics.
  • Supported by:
    General Program of Shandong Provincial Natural Science Foundation(ZR2025MS986).

Abstract: Nearest distance query from a point to a mesh surface is a fundamental operation in computer graphics,with broad applications in collision detection,physical simulation,and surface registration.However,traditional acceleration structures based on spatial partitioning(e.g.,KD-tree,octree) or bounding volume hierarchies(BVH) often suffer from performance degradation due to their inability to effectively prune redundant branches,particularly when query points are distant from the model surface.Recently,the dynamic programming-based nearest neighbor search algorithm(DP-NNS),built upon incremental Delaunay construction,has demonstrated remarkable advantages in point cloud nearest neighbor queries.Nevertheless,its query table construction relies on Voronoi cell adjacency relationships between points,and the generalized Voronoi diagram of triangle meshes is computationally intractable in practice,preventing DP-NNS from being directly extended to point-to-mesh distance queries.To address this issue,this paper proposes an approximate point-to-mesh distance query algorithm built upon the DP-NNS framework.A triangle mesh consists of three types of geometric primitives:vertices,edges,and faces.Corresponding proxy points are assigned to approximate its generalized Voronoi cells.Vertices are directly inserted as proxy points,while edges and faces are adaptively sampled based on a unified density parameter.The adjacency relationships among all three primitive types are thereby unified into Delaunay adjacency relationships between proxy points,extending the DP-NNS framework to the geometric primitive level and enabling the construction of a primitive-level query table.During querying,tailored distance computation strategies are applied to each primitive type,with bounding sphere-based pruning employed for faces to avoid unnecessary exact distance computations.Experiments on multiple standard datasets demonstrate that the proposed method achieves a query speedup of 2 to 10 times over FCPW,Embree and Libigl,with particularly pronounced advantages when query points are distant from the model surface,while maintaining competitive approximation accuracy.

Key words: Point-to-mesh distance query, Approximation algorithm, Dynamic programming, Delaunay triangulation, Generalized Voronoi diagram

CLC Number: 

  • TP391.41
[1] REZAABBASIFARD M,GHAHREMANI B,NADERI H.Asurvey on nearest neighbor search methods[J].International Journal of Computer Applications,2014,95:39-52.
[2] AUER S,WESTERMANN R.A semi-lagrangian closest pointmethod for deforming surfaces[J].Computer Graphics Forum,2013,32.
[3] GUÉZIEC A.‘meshsweeper’:Dynamic point-to-polygonal-mesh distance and applications[J].IEEE Transactions on Visualization and Computer Graphics,2001,7:47-61.
[4] WALD I,USHER W,MORRICAL N,et al.Rtx beyond raytracing:exploring the use of hardware ray tracing cores for tet-mesh point location[C] //Proceedings of the Conference on High-Performance Graphics.2019.
[5] BENTLEY J L.Multidimensional binary search trees used for associative searching[J].Communications of the ACM,1975,18:509-517.
[6] ZONG C,XU J C,SONG J T,et al.P2m:A fast solver for querying distance from point to mesh surface[J].ACM Transactions on Graphics,2023,42(4):1-13.
[7] WANG P F,SONG J T,XIN S Q,et al.Efficient nearest neighbor search using dynamic programming[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2026,48(1):999-1014.
[8] SAWHNEY R.Fcpw:Fastest closest points in the west[EB/OL].https://github.com/rohan-sawhney/fcpw.
[9] WALD I,WOOP S,BENTHIN C,et al.Embree:a kernel framework for efficient cpu ray tracing[J].ACM Transactions on Graphics,2014,33(4):143.
[10] JACOBSON A,PANOZZO D.libigl:A simple C++geometry processing library[EB/OL].https://libigl.github.io/.
[11] FRIEDMAN J H,BENTLEY J L,FINKEL R A.An algorithm for finding best matches in logarithmic expected time[J].ACM Transactions on Mathematical Software,1977,3:209-226.
[12] BLANCO J L,RAI P K.nanoflann:a C++header-only fork of FLANN,a library for nearest neighbor(NN) with kd-trees[EB/OL].https://github.com/jlblancoc/nanoflann.
[13] DROST B,ILIC S.Almost constant-time 3d nearest-neighborlookup using implicit octrees[J].Machine Vision and Applications,2017,29:299-311.
[14] GUTTMAN A.R-trees:a dynamic index structure for spatial searching[C] //ACM SIGMOD Conference.1984.
[15] BECKMANN N,KRIEGEL H P,SCHNEIDER R,et al.Ther*-tree:an efficient and robust access method for points and rectangles [C] //ACM SIGMOD Conference.1990.
[16] JAMES D L,PAI D K.Bd-tree:output-sensitive collision detection for reduced deformable models[J].ACM Transactions on Graphics,2004,23(3):393-398.
[17] WU Z C,MA L,CHEN Y Y,et al.Instant Color Stippling with Incremental Voronoi Sequence[J].Journal of Computer-Aided Design & Computer Graphics,2019,31(9):1502-1508.
[18] DU X Y,YAN D M,YE J T,et al.Quad Mesh Generation via Field-Aligned Centroidal Voronoi Tessellation[J].Journal of Computer-Aided Design & Computer Graphics,2018,30(5):764-771.
[19] CHEN Z G,OUYANG Y S,CAO J.Feature-Preserving Mosaic Image Generation[J].Journal of Computer-Aided Design & Computer Graphics,2014,26(4):520-527.
[20] BOWYER A.Computing dirichlet tessellations*[J].The Computer Journal,1981,24(2):162-166.
[21] WATSON D F.Computing the n-dimensional delaunay tessellation with application to voronoi polytopes*[J].The Computer Journal,1981,24(2):167-172.
[22] HERT S,SEEL M.dD convex hulls and delaunay triangulations[M] //CGAL User and Reference Manual.CGAL Editorial Board,2026.
[23] SI H.Tetgen,a delaunay-based quality tetrahedral mesh generator[J].ACM Transactions on Mathematical Software,2015,41(2):1-36.
[1] LI Deqiang, REN Xinyi, XU Jia. Time-constrained Mobile Charging Scheduling for Heterogeneous Sensing in Wireless Rechargeable Sensor Networks [J]. Computer Science, 2025, 52(6): 355-364.
[2] GAO Wei, WANG Lei, LI Jianan, LI Shuailong, HAN Lin. Operator Fusion Optimization for Deep Learning Compiler TVM [J]. Computer Science, 2025, 52(5): 58-66.
[3] REN Meixuan, DENG Peng, ZHAO Yue, WANG Xiaoyu, WANG Chao, DAI Haipeng, WU Libing. Safe Placement of Multi-antenna Wireless Chargers [J]. Computer Science, 2024, 51(8): 345-353.
[4] LIU Zhimin, CHEN Jianer. Scheduling Jobs with Multiple Deadlines in Cloud [J]. Computer Science, 2024, 51(11A): 240100120-7.
[5] CHEN Yunliang, LIU Hao, ZHU Guishui, HUANG Xiaohui, CHEN Xiaodao, WANG Lizhe. Study on Supervised Learning Model for Optimal Histogram Solution [J]. Computer Science, 2023, 50(9): 145-151.
[6] CHEN Ying, HAO Ying-guang, WANG Hong-yu, WANG Kun. Dynamic Programming Track-Before-Detect Algorithm Based on Local Gradient and Intensity Map [J]. Computer Science, 2022, 49(8): 150-156.
[7] LIN Bao-ling, JIA Ri-heng, LIN Fei-long, ZHENG Zhong-long, LI Ming-lu. Multi-armed Bandit Model Based on Time-variant Budgets [J]. Computer Science, 2022, 49(11A): 210800212-6.
[8] MA Xin-yu, JIANG Chun-mao, HUANG Chun-mei. Optimal Scheduling of Cloud Task Based on Three-way Clustering [J]. Computer Science, 2022, 49(11A): 211100139-7.
[9] GAO Ji-ji, YUE Xue-rong, CHEN Zhi-bin. Approximate Ratios Analysis of New Algorithm for Classical Parallel Scheduling [J]. Computer Science, 2021, 48(4): 37-42.
[10] LI Shuang-gang, ZHANG Shuang, WANG Xing-wei. Cloud Resource Scheduling Mechanism Based on Adaptive Virtual Machine Migration [J]. Computer Science, 2020, 47(9): 238-245.
[11] CHEN Shi-jie, ZHANG Sen-lin, LIU Mei-qin, ZHENG Rong-hao. Underwater Terrain Three-dimensional Reconstruction Algorithm Based on Improved Delaunay Triangulation [J]. Computer Science, 2020, 47(11): 137-141.
[12] QING Wen-xing, CHEN Wei. Delaunay Triangular Mesh Optimization Algorithm [J]. Computer Science, 2019, 46(6A): 226-229.
[13] WANG Hua. Improved Method for Blade Shape Simulation Based on Vein Shape Function [J]. Computer Science, 2019, 46(6A): 234-238.
[14] WANG Zheng-li, XIE Tian, HE Kun and JIN Yan. 0-1 Knapsack Variant with Time Scheduling [J]. Computer Science, 2018, 45(4): 53-59.
[15] ZHANG Jia-nan and XIAO Ming-yu. Approximation Algorithm for Weighted Mixed Domination Problem [J]. Computer Science, 2018, 45(4): 83-88.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!