From 8f621b53efa0ca9c0f7f41b7c561a9683e85e4d7 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Tue, 25 Oct 2005 09:17:41 +0000 Subject: [PATCH] correct IsBorder --- vcg/complex/trimesh/update/curvature.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/update/curvature.h b/vcg/complex/trimesh/update/curvature.h index 828ef259..3307ac5f 100644 --- a/vcg/complex/trimesh/update/curvature.h +++ b/vcg/complex/trimesh/update/curvature.h @@ -23,12 +23,17 @@ /**************************************************************************** History $Log: not supported by cvs2svn $ +Revision 1.1 2005/02/22 16:40:29 ganovelli +created. This version writes the gaussian curvature on the Q() member of +the vertex + /****************************************************************************/ #ifndef VCGLIB_UPDATE_CURVATURE_ #define VCGLIB_UPDATE_CURVATURE_ #include +#include #include namespace vcg { @@ -122,7 +127,7 @@ static void Gaussian( MeshType & m){ { for(int i=0;i<3;i++) { - if((*fi).IsBorder(i)) + if(vcg::face::IsBorder((*fi), i)) { MeshType::CoordType e1,e2; vcg::face::Pos hp(&*fi,i,(*fi).V(i));