Added a chapter about the navigation on a mesh.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@231 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
14
Doc/Examples/nav_code3.cc
Normal file
14
Doc/Examples/nav_code3.cc
Normal file
@@ -0,0 +1,14 @@
|
||||
[...]
|
||||
|
||||
// Get some vertex handle
|
||||
PolyMesh::VertexHandle v = ...;
|
||||
|
||||
for(PolyMesh::VertexIHalfedgeIter vih_it = mesh.vih_iter(v); vih_it; ++vih_it) {
|
||||
// Iterate over all incoming halfedges...
|
||||
}
|
||||
|
||||
for(PolyMesh::VertexOHalfedgeIter voh_it = mesh.voh_iter(v); voh_it; ++voh_it) {
|
||||
// Iterate over all outgoing halfedges...
|
||||
}
|
||||
|
||||
[...]
|
||||
Reference in New Issue
Block a user