
####################
MeshDataCopyIterator
####################

.. js:class:: MeshDataCopyIterator

   An iterator over the vertices of a [[MeshDataCopyElement]] or [[MeshDataCopyElementGroup]].
   
   
   Index
   =====
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~MeshDataCopyIterator.done`
   * :js:meth:`~MeshDataCopyIterator.goTo`
   * :js:meth:`~MeshDataCopyIterator.next`
   
   




Methods
=======

.. js:method:: MeshDataCopyIterator.done

   .. rst-class:: sig-pretty-signature
   
      | done(): *boolean*
   
   **Returns**\ : *boolean*
   
      ``false`` if a call to [[next]] will return a vertex, or ``true`` if a call to [[next]] will return ``undefined``\ .
   
   



.. js:method:: MeshDataCopyIterator.goTo

   .. rst-class:: sig-pretty-signature
   
      | goTo(**index**\ : *number*\ ): *void*
   
   Continue iteration from a particular index.
   
   **Parameters**
   
      **index**\ : *number*
   
         the index from which to iterate
   
   
   
   **Returns**\ : *void*
   



.. js:method:: MeshDataCopyIterator.next

   .. rst-class:: sig-pretty-signature
   
      | next(): :js:class:`~MeshDataCopyVertex`
   
   **Returns**\ : :js:class:`~MeshDataCopyVertex`
   
      The next vertex in the element or element group, or ``undefined`` if iteration has completed.
   
   





