From b7b23d4140ad9989089c6eb7b2fa9028c34d6fe7 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Fri, 21 Jan 2005 17:11:03 +0000 Subject: [PATCH] changed Dist Function to PointDistance... the function is on vcg::face::PointDistance this file will contain all distance functions between a face and othe entities --- vcg/simplex/face/distance.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/vcg/simplex/face/distance.h b/vcg/simplex/face/distance.h index d1e09162..887da9fb 100644 --- a/vcg/simplex/face/distance.h +++ b/vcg/simplex/face/distance.h @@ -24,16 +24,22 @@ History $Log: not supported by cvs2svn $ +Revision 1.1 2004/05/12 18:50:25 ganovelli +created + ****************************************************************************/ #ifndef __VCGLIB_FACE_DISTANCE #define __VCGLIB_FACE_DISTANCE + #include +using namespace std; + namespace vcg { - + namespace face{ /* Point face distance trova il punto

sulla faccia piu' vicino a , con possibilità di @@ -60,7 +66,7 @@ namespace vcg { */ template - bool Dist( const FaceType &f, + bool PointDistance( const FaceType &f, const Point3 & q, typename FaceType::ScalarType & dist, Point3 & p ) @@ -202,7 +208,7 @@ namespace vcg { return true; } - +} // end namespace face } // end namespace vcg