Logo
Explore Help
Sign In
Pixyco-XYZ/openmesh
5
0
Fork 0
You've already forked openmesh
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
main
openmesh/Doc/Examples/circulators.cc

12 lines
330 B
C++
Raw Permalink Normal View History

First checkin for OpenMesh 2.0 git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@2 fdac6126-5c0c-442c-9429-916003d36597
2009-02-06 13:37:46 +00:00
MyMesh mesh;
// (linearly) iterate over all vertices
Document behaviour of circulators on deleted elements git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@426 fdac6126-5c0c-442c-9429-916003d36597
2011-10-10 12:52:28 +00:00
for (MyMesh::VertexIter v_it=mesh.vertices_sbegin(); v_it!=mesh.vertices_end(); ++v_it)
First checkin for OpenMesh 2.0 git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@2 fdac6126-5c0c-442c-9429-916003d36597
2009-02-06 13:37:46 +00:00
{
// circulate around the current vertex
Next change set for the new interface git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@902 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:26:50 +00:00
for (MyMesh::VertexVertexIter vv_it=mesh.vv_iter(*v_it); vv_it.is_valid(); ++vv_it)
First checkin for OpenMesh 2.0 git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@2 fdac6126-5c0c-442c-9429-916003d36597
2009-02-06 13:37:46 +00:00
{
// do something with e.g. mesh.point(*vv_it)
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 26ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API