From f682054c6d0a69720351176fe9d906a4e0e34a80 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Mon, 31 May 2004 16:01:56 +0000 Subject: [PATCH] added function addtetra --- vcg/complex/tetramesh/allocate.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/vcg/complex/tetramesh/allocate.h b/vcg/complex/tetramesh/allocate.h index c8b5757a..26882f56 100644 --- a/vcg/complex/tetramesh/allocate.h +++ b/vcg/complex/tetramesh/allocate.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.2 2004/05/14 15:14:34 turini +Added $Log: not supported by cvs2svn $ for CVS History Log + Revision 1.1 2004/19/04 13:05 pietroni Initial commit @@ -199,6 +202,18 @@ struct InsertedVT{ } }; + + /** Function to add n tetrafedron to the mesh. +@param n number of vertices we want to add. +*/ +TetraIterator AddTetra(TetraMeshType &m,int n) +{ + TetraIterator last=m.tetra.end(); + for (int i=0;i