template<class
GridView>
class Dune::VTKWriter< GridView >::VertexIterator
Iterate over the grid's vertices.
This class iterates over the elements, and within the elements over the corners. If the data mode dm is nonconforming, each vertex is visited once for each element where it is a corner (similar to CornerIterator). If dm is conforming each vertex is visited only once globally, for the first element where it is a corner. Contrary to CornerIterator, visit the corners of a given element in Dune-ordering.
Dereferencing the iterator yields the current entity, and the index of the current corner within that entity is returned by the iterators localindex() method. Another useful method on the iterator itself is position() which returns the element-local position of the current corner.