net.refractions.udig.tools.edit.support
Class EditGeomPointIterator

java.lang.Object
  extended by net.refractions.udig.tools.edit.support.EditGeomPointIterator
All Implemented Interfaces:
java.util.Iterator<Point>

public class EditGeomPointIterator
extends java.lang.Object
implements java.util.Iterator<Point>

Iterates through all the points in an EditGeom starting with the shell and then doing the holes in order

Since:
1.1.0
Author:
Jesse

Constructor Summary
EditGeomPointIterator(EditGeom geom)
           
EditGeomPointIterator(EditGeom geom, java.util.Collection<Point> selectedPoints)
          New instance
 
Method Summary
 boolean hasNext()
           
 Point next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditGeomPointIterator

public EditGeomPointIterator(EditGeom geom,
                             java.util.Collection<Point> selectedPoints)
New instance

Parameters:
geom - Geometry to draw
selectedPoints - points NOT to draw.

EditGeomPointIterator

public EditGeomPointIterator(EditGeom geom)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Point>

next

public Point next()
Specified by:
next in interface java.util.Iterator<Point>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Point>