OpenMesh-11.0.0/ 0000770 0001746 0001746 00000000000 14620651625 015431 5 ustar gitlab-runner gitlab-runner OpenMesh-11.0.0/Doc/ 0000770 0001746 0001746 00000000000 14620631436 016134 5 ustar gitlab-runner gitlab-runner OpenMesh-11.0.0/Doc/tutorial_02.docu 0000660 0001746 0001746 00000003453 14556675336 021201 0 ustar gitlab-runner gitlab-runner /** \page tutorial_02 Using iterators and circulators
This examples shows:
- How to use iterators,
- How to use circulators.
This example is the first version of the simple mesh smoother. Here we
will introduce \em iterators and \em circulators. These two concepts
provide functionality to linearly enumerate e.g. all vertices of a
mesh, and to circulate around a vertex, i.e. to enumerate all its
one-ring neighbors. For a more detailed description, see \ref
mesh_iterators.
First we have to define the mesh type we want to use. This time we use
a triangle mesh instead of a polygonal mesh:
\dontinclude 02-iterators/smooth.cc
\skipline TriMesh_ArrayKernel
\skipline MyMesh
We read the mesh to be smoothed from a file:
\skipline read_mesh
One smoothing iteration is done in two steps: