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

Small unittest to check the handles of a vertexohalfedge iterator

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@767 fdac6126-5c0c-442c-9429-916003d36597
parent 5569c8d2
...@@ -637,7 +637,7 @@ TEST_F(OpenMeshCirculators, VertexOutgoingHalfedgeDereference) { ...@@ -637,7 +637,7 @@ TEST_F(OpenMeshCirculators, VertexOutgoingHalfedgeDereference) {
// Iterate around vertex 1 at the middle (with holes in between) // Iterate around vertex 1 at the middle (with holes in between)
Mesh::VertexOHalfedgeIter voh_it = mesh_.voh_iter(vhandle[1]); Mesh::VertexOHalfedgeIter voh_it = mesh_.voh_iter(vhandle[1]);
// TODO: If called // TODO: If called without handle, it won't build
Mesh::EdgeHandle eh = mesh_.edge_handle(voh_it.handle()); Mesh::EdgeHandle eh = mesh_.edge_handle(voh_it.handle());
Mesh::HalfedgeHandle heh = mesh_.halfedge_handle(voh_it); Mesh::HalfedgeHandle heh = mesh_.halfedge_handle(voh_it);
Mesh::VertexHandle vh2 = mesh_.to_vertex_handle(voh_it); Mesh::VertexHandle vh2 = mesh_.to_vertex_handle(voh_it);
......
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