MeshDataCopyIterator
- class MeshDataCopyIterator()
An iterator over the vertices of a [[MeshDataCopyElement]] or [[MeshDataCopyElementGroup]].
Methods
done
- MeshDataCopyIterator.done()
- Returns
false
if a call to [[next]] will return a vertex, ortrue
if a call to [[next]] will returnundefined
.- Return type
boolean
goTo
- MeshDataCopyIterator.goTo(index)
- Arguments
index (
number()
) – the index from which to iterate
Continue iteration from a particular index.
- Return type
void
next
- MeshDataCopyIterator.next()
- Returns
The next vertex in the element or element group, or
undefined
if iteration has completed.- Return type
MeshDataCopyVertex