Added new clean function removing only primitives

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@707 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-09-27 10:23:42 +00:00
parent c5874871e0
commit 301b020b3d

View File

@@ -174,8 +174,16 @@ public:
/// \name Delete items /// \name Delete items
//@{ //@{
/// Delete all items, i.e. clear all item containers. /** Delete all items, i.e. clear all item containers.
* The properties will also be removed from the mesh
*/
void clear(); void clear();
/** Delete all items, i.e. clear all item containers.
* The properties will be kept
*/
void clean();
/** Remove all items that are marked as deleted from the /** Remove all items that are marked as deleted from the
corresponding containers. corresponding containers.
\note All handles (and indices) to any entity (face, vertex, \note All handles (and indices) to any entity (face, vertex,