uncommented GetInSphereFace (compiled with gcc 4.2.3 and .net 2005)

This commit is contained in:
ganovelli 2008-08-04 15:27:58 +00:00
parent c69c140e0a
commit cbb547cdf0
1 changed files with 16 additions and 16 deletions

View File

@ -281,22 +281,22 @@ namespace vcg {
(distFunct,mv,_k,_p,_maxDist,_objectPtrs,_distances,_points));
}
//template <class MESH, class GRID, class OBJPTRCONTAINER, class DISTCONTAINER, class POINTCONTAINER>
// unsigned int GetInSphereFace(MESH & mesh,
// GRID & gr,
// const typename GRID::CoordType & _p,
// const typename GRID::ScalarType & _r,
// OBJPTRCONTAINER & _objectPtrs,
// DISTCONTAINER & _distances,
// POINTCONTAINER & _points)
//{
// typedef FaceTmark<MESH> MarkerFace;
// MarkerFace mf;
// mf.SetMesh(&mesh);
// typedef vcg::face::PointDistanceFunctor F DistFunct;
// return (gr.GetInSphere/*<FDistFunct,MarkerFace,OBJPTRCONTAINER,DISTCONTAINER,POINTCONTAINER>*/
// (FDistFunct(),mf,_p,_r,_maxDist,_objectPtrs,_distances,_points));
//}
template <class MESH, class GRID, class OBJPTRCONTAINER, class DISTCONTAINER, class POINTCONTAINER>
unsigned int GetInSphereFace(MESH & mesh,
GRID & gr,
const typename GRID::CoordType & _p,
const typename GRID::ScalarType & _r,
OBJPTRCONTAINER & _objectPtrs,
DISTCONTAINER & _distances,
POINTCONTAINER & _points)
{
typedef FaceTmark<MESH> MarkerFace;
MarkerFace mf;
mf.SetMesh(&mesh);
typedef vcg::face::PointDistanceFunctor FDistFunct;
return (gr.GetInSphere/*<FDistFunct,MarkerFace,OBJPTRCONTAINER,DISTCONTAINER,POINTCONTAINER>*/
(FDistFunct(),mf,_p,_r,_objectPtrs,_distances,_points));
}
template <class MESH, class GRID, class OBJPTRCONTAINER, class DISTCONTAINER, class POINTCONTAINER>
unsigned int GetInSphereVertex(MESH & mesh,