From 9d764b3a8c054faa2068ff1f9b8f863462f52176 Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 14 Oct 2005 13:25:50 +0000 Subject: [PATCH] Added cVFp member --- vcg/simplex/vertex/base.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/vcg/simplex/vertex/base.h b/vcg/simplex/vertex/base.h index 4e481638..69637e82 100644 --- a/vcg/simplex/vertex/base.h +++ b/vcg/simplex/vertex/base.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log: not supported by cvs2svn $ +Revision 1.24 2005/10/06 14:26:39 pietroni +added getBBox method + Revision 1.23 2005/03/18 16:38:36 fiorin Minor changes @@ -64,6 +67,9 @@ Revision 1.12 2004/05/10 13:31:13 ganovelli function for edge adjacency added $Log: not supported by cvs2svn $ +Revision 1.24 2005/10/06 14:26:39 pietroni +added getBBox method + Revision 1.23 2005/03/18 16:38:36 fiorin Minor changes @@ -545,7 +551,17 @@ inline const VFTYPE * & VFp() const return _vfb; #else assert(0);// you are probably trying to use VF topology in a vertex without it - return (VFTYPE *)this; + return (VFTYPE *)0; +#endif + } + +inline const VFTYPE * cVFp() const + { +#if ((defined __VCGLIB_VERTEX_AF) || (defined __VCGLIB_VERTEX_AFS)) + return _vfb; +#else + assert(0);// you are probably trying to use VF topology in a vertex without it + return (VFTYPE *)0; #endif }