Commit 301b020b authored by Jan Möbius's avatar Jan Möbius
Browse files

Added new clean function removing only primitives


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@707 fdac6126-5c0c-442c-9429-916003d36597
parent c5874871
...@@ -174,8 +174,16 @@ public: ...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment