public class VertexIterator extends Object implements Iterator<Vertex>
This iterator will identify all unique vertices that form the structure of the TIN and will deliver them to the calling application. In the case where an application has supplied multiple vertices with the same coordinates, this application will use a "VertexMergerGroup" object in their place. Thus the set of vertex objects input to an Incremental TIN instance is not necessarily the same set of objects produced by this iterator.
This class is not thread safe. Applications must not modify the TIN (by adding or removing vertices) while using the iterator.
Constructor and Description |
---|
VertexIterator(IIncrementalTin tin)
Construct an instance of the iterator based on the specified
Incremental TIN structure.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Vertex |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public VertexIterator(IIncrementalTin tin)
tin
- a valid instanceCopyright © 2021. All rights reserved.