From a707c1d217e1d5e2fe10c4c452d7aea071f56134 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 18 Jan 2007 18:15:14 +0000 Subject: [PATCH] added missing typenames --- vcg/complex/trimesh/hole.h | 5 ++++- vcg/complex/trimesh/refine.h | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/vcg/complex/trimesh/hole.h b/vcg/complex/trimesh/hole.h index 20cc31ba..460ab5ed 100644 --- a/vcg/complex/trimesh/hole.h +++ b/vcg/complex/trimesh/hole.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.31 2007/01/18 11:17:43 giec +The minimum weight algorithm keep the topology consistent. + Revision 1.30 2007/01/10 12:07:54 giec Bugfixed ComputeDihedralAngle function @@ -961,7 +964,7 @@ template if(app.size() <= holeSize) { - std::vector::iterator itP; + typename std::vector::iterator itP; std::vector vfp; for(ithn = vvi.begin(); ithn!= vvi.end(); ++ithn) diff --git a/vcg/complex/trimesh/refine.h b/vcg/complex/trimesh/refine.h index 5ce06fc4..dfd2b1d9 100644 --- a/vcg/complex/trimesh/refine.h +++ b/vcg/complex/trimesh/refine.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.14 2007/01/17 14:31:47 giec +Added TrSplit function. + Revision 1.13 2006/10/27 13:26:49 ganovelli changed &*vert.end() to !vert.empty() -> &vert.back() to comply vs2005 compiler @@ -824,7 +827,7 @@ void TriSplit(typename TRIMESH_TYPE::FacePointer f, vB->P() = Center(f); //i tre vertici della faccia da dividere - TRIMESH_TYPE::VertexType* V0,*V1,*V2; + typename TRIMESH_TYPE::VertexType* V0,*V1,*V2; V0 = f->V(0); V1 = f->V(1); V2 = f->V(2); @@ -847,7 +850,7 @@ void TriSplit(typename TRIMESH_TYPE::FacePointer f, f->FFp(2)->FFp(f->FFi(2)) = f2; //adiacenza ff - TRIMESH_TYPE::FacePointer FF0,FF1,FF2; + typename TRIMESH_TYPE::FacePointer FF0,FF1,FF2; FF0 = f->FFp(0); FF1 = f->FFp(1); FF2 = f->FFp(2);