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