From b61d0de3b62c23347e637a5312f5b5eded386478 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Wed, 5 Oct 2005 17:02:52 +0000 Subject: [PATCH] corrected bugs on GEtKClosestVert and GetInSphereVert --- vcg/complex/trimesh/closest.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/closest.h b/vcg/complex/trimesh/closest.h index 607e6c34..cc8b6b48 100644 --- a/vcg/complex/trimesh/closest.h +++ b/vcg/complex/trimesh/closest.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.16 2005/10/03 16:19:07 spinelli +fixed some bugs + Revision 1.15 2005/10/03 13:59:39 pietroni added GetInSphere and GetInBox functions rensmed Functions respectively with Face suffix or Vertex suffix for query on vertex or faces @@ -235,7 +238,7 @@ namespace vcg { MarkerVert mv; mv.SetMesh(&mesh); typedef vcg::vertex::PointDistanceFunctor VDistFunct; - return (gr.GetKClosest + return (gr.GetKClosest (VDistFunct(),mv,_k,_p,_maxDist,_objectPtrs,_distances,_points)); }