MeshDataCopyIterator
-
class
wv.MeshDataCopyIterator() An iterator over the vertices of a [[MeshDataCopyElement]] or [[MeshDataCopyElementGroup]].
Methods
-
wv.MeshDataCopyIterator.done() - done(): boolean
Returns: boolean
falseif a call to [[next]] will return a vertex, ortrueif a call to [[next]] will returnundefined.
-
wv.MeshDataCopyIterator.goTo() - goTo(index: number): void
Continue iteration from a particular index.
Parameters
index: number
the index from which to iterateReturns: void
-
wv.MeshDataCopyIterator.next() - next():
MeshDataCopyVertexReturns:
MeshDataCopyVertexThe next vertex in the element or element group, orundefinedif iteration has completed.