Some minor corrections to the navigation tutorial. Added code example on how to use the opposite_halfedge_handle() function.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@232 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Mike Kremer
2009-11-23 11:19:03 +00:00
parent 4c69a22aef
commit 60bea5c903
4 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
// Get the halfedge handle of i.e. the halfedge
// that is associated to the first vertex
// of our set of vertices
PolyMesh::HalfedgeHandle heh = mesh.halfedge_handle(mesh.vertices_begin().handle());
// Now get the handle of its opposing halfedge
PolyMesh::HalfedgeHandle opposite_heh = mesh.opposite_halfedge_handle(heh);