added function addtetra
This commit is contained in:
parent
0a17f44c43
commit
f682054c6d
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$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
|
Revision 1.1 2004/19/04 13:05 pietroni
|
||||||
Initial commit
|
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<n;i++)
|
||||||
|
m.tetra.push_back(TetraType());
|
||||||
|
return (last);
|
||||||
|
}
|
||||||
|
|
||||||
/** Crate a copy of the mesh with tetrahedron that are into the templated container
|
/** Crate a copy of the mesh with tetrahedron that are into the templated container
|
||||||
@param ST_CONT (Template Parameter) Specifies the type of the container of tetrahedron.
|
@param ST_CONT (Template Parameter) Specifies the type of the container of tetrahedron.
|
||||||
@param subSet Container of tetrahedron.
|
@param subSet Container of tetrahedron.
|
||||||
|
|
Loading…
Reference in New Issue