diff --git a/apps/sample/trimesh_closest/trimesh_closest.cpp b/apps/sample/trimesh_closest/trimesh_closest.cpp index 53f46494..44707281 100644 --- a/apps/sample/trimesh_closest/trimesh_closest.cpp +++ b/apps/sample/trimesh_closest/trimesh_closest.cpp @@ -143,7 +143,7 @@ bool UnitTest_Closest(const char *filename1, int sampleNum, float dispPerc, std: if(useEdge && useWrap) for(size_t i=0;i MarkerFace; MarkerFace mf; mf.SetMesh(&mr); - face::PointDistanceFunctor PDistFunct; + face::PointDistanceBaseFunctor PDistFunct; for(size_t i=0;i resultVecRT10; std::vector resultVecBS01; std::vector resultVecBS00; - UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT11); - UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT11); - UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT01); - UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT00); - UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT10); - UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecBS01); - UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecBS01); - UnitTest_Closest(argv[1],sampleNum,dispPerc,resultVecBS01); + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT11); + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT11); + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT01); + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT00); + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT10); + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT10); + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT10); + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecRT10); + + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecBS01); + UnitTest_Closest (argv[1],sampleNum,dispPerc,resultVecBS01); + UnitTest_Closest(argv[1],sampleNum,dispPerc,resultVecBS01); + UnitTest_Closest(argv[1],sampleNum,dispPerc,resultVecBS01); for(size_t i=0;i