A simple C++ implementation to find a closest point on a mesh to a given external point P, within a specified search radius R.
% make
% bin/ClosestPoint.out -h #Displays help for running
% bin/ClosestPoint.out data/happy.ply
The test cases read the query points from data/queryPoints.txt
. Each line is a space separated value of the cordinates followed by the search radius value
Ply file | Vertices | Faces |
---|---|---|
bunny.ply | 35947 | 69451 |
hand.ply | 327323 | 654666 |
happy.ply | 543652 | 1087716 |