Added Consistency check in the HasVFAdj static function

This commit is contained in:
Paolo Cignoni 2006-11-28 22:35:29 +00:00
parent d614e6baa5
commit 2f592ca2f8
1 changed files with 7 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.24 2006/11/07 11:29:23 cignoni
Corrected some errors in the reflections Has*** functions
Revision 1.23 2006/10/27 11:08:18 ganovelli
added override to HasFFAdjacency , HasVFAdjacency for the optional attributes (see also complex/trimesh/allocate.h)
@ -338,7 +341,10 @@ template < class VertContainerType, class FaceContainerType >
bool HasFFAdjacency (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return FaceContainerType::value_type::HasFFAdjacency();}
template < class VertContainerType, class FaceContainerType >
bool HasVFAdjacency (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {return FaceContainerType::value_type::HasVFAdjacency();}
bool HasVFAdjacency (const TriMesh < VertContainerType , FaceContainerType> & /*m*/) {
assert(FaceContainerType::value_type::HasVFAdjacency() == VertContainerType::value_type::HasVFAdjacency());
return FaceContainerType::value_type::HasVFAdjacency();
}
/*@}*/
/*@}*/
} // end namespace