Document behaviour of circulators on deleted elements

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@426 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2011-10-10 12:52:28 +00:00
parent cc7141f28e
commit 1d363599e9
2 changed files with 12 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
MyMesh mesh;
// (linearly) iterate over all vertices
for (MyMesh::VertexIter v_it=mesh.vertices_begin(); v_it!=mesh.vertices_end(); ++v_it)
for (MyMesh::VertexIter v_it=mesh.vertices_sbegin(); v_it!=mesh.vertices_end(); ++v_it)
{
// circulate around the current vertex
for (MyMesh::VertexVertexIter vv_it=mesh.vv_iter(v_it.handle()); vv_it; ++vv_it)