From dae0988085d4a0eacab5d25c59388485c4fabbde Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Thu, 6 Oct 2005 14:26:39 +0000 Subject: [PATCH] added getBBox method --- vcg/simplex/vertex/base.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/vcg/simplex/vertex/base.h b/vcg/simplex/vertex/base.h index 9b4ce884..4e481638 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.23 2005/03/18 16:38:36 fiorin +Minor changes + Revision 1.22 2005/03/18 00:13:45 cignoni Removed NormalizedNormalV (out of standard and wrong) and added the member functions Normal and NormalizedNormal() (just like for faces) @@ -61,6 +64,9 @@ Revision 1.12 2004/05/10 13:31:13 ganovelli function for edge adjacency added $Log: not supported by cvs2svn $ +Revision 1.23 2005/03/18 16:38:36 fiorin +Minor changes + Revision 1.22 2005/03/18 00:13:45 cignoni Removed NormalizedNormalV (out of standard and wrong) and added the member functions Normal and NormalizedNormal() (just like for faces) @@ -142,6 +148,7 @@ Edited Comments and GPL license #include #include #include +#include namespace vcg { @@ -342,6 +349,15 @@ static inline bool DeleteBitFlag(int bitval) //@} +/*#******************* +* Bounding box * +**********************/ + +void GetBBox( Box3 & bb ) const +{ + bb.Set( cP() ); +} + /***********************************************/ /** @name Vertex Texture Coords blah