Developer Documentation

circulators.cc
1 MyMesh mesh;
2
3 // (linearly) iterate over all vertices
4 for (MyMesh::VertexIter v_it=mesh.vertices_sbegin(); v_it!=mesh.vertices_end(); ++v_it)
5 {
6 // circulate around the current vertex
7 for (MyMesh::VertexVertexIter vv_it=mesh.vv_iter(*v_it); vv_it.is_valid(); ++vv_it)
8 {
9 // do something with e.g. mesh.point(*vv_it)
10 }
11 }
OpenMesh::TriMesh_ArrayKernelT
Definition: PolyMesh_ArrayKernelT.hh:73
OpenMesh::PolyMeshT::VertexVertexIter
Kernel::VertexVertexIter VertexVertexIter
Circulator.
Definition: PolyMeshT.hh:162