From 4d952f8de7812608a220f1656effcfba4db9782d Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 10 Nov 2005 15:49:32 +0000 Subject: [PATCH] Made IsManifold Constant --- vcg/simplex/face/topology.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/simplex/face/topology.h b/vcg/simplex/face/topology.h index b7a4dfb7..42fd44ec 100644 --- a/vcg/simplex/face/topology.h +++ b/vcg/simplex/face/topology.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.18 2005/10/13 08:34:19 cignoni +Removed reference to IsBorder() member of face and substituted with the face templated function version. + Revision 1.17 2005/04/11 09:17:24 pietroni Changed detach to FFdetach , compiled tested in manifold cases @@ -82,7 +85,7 @@ template inline bool IsManifold( FaceType const & f, const int j ) { if(FaceType::HasFFAdjacency()) - return ( f.FFp(j) == &f || &f == f.FFp(j)->FFp(f.FFi(j)) ); + return ( f.cFFp(j) == &f || &f == f.cFFp(j)->cFFp(f.cFFi(j)) ); else return true; }