MeshDataCopyIterator

class MeshDataCopyIterator()

An iterator over the vertices of a [[MeshDataCopyElement]] or [[MeshDataCopyElementGroup]].

Index

Methods

Methods

MeshDataCopyIterator.done()
done(): boolean

Returns: boolean

false if a call to [[next]] will return a vertex, or true if a call to [[next]] will return undefined.
MeshDataCopyIterator.goTo()
goTo(index: number): void

Continue iteration from a particular index.

Parameters

index: number

the index from which to iterate

Returns: void

MeshDataCopyIterator.next()

Returns: MeshDataCopyVertex

The next vertex in the element or element group, or undefined if iteration has completed.