Class VertexIterator

  • All Implemented Interfaces:
    Iterator<Vertex>

    public class VertexIterator
    extends Object
    implements Iterator<Vertex>
    An implementation of an iterator for looping through the vertices that form a Triangulated Irregular Network.

    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 Detail

      • VertexIterator

        public VertexIterator​(IIncrementalTin tin)
        Construct an instance of the iterator based on the specified Incremental TIN structure.
        Parameters:
        tin - a valid instance