public final class MMAffine2DPolygon.VertexIterator
extends java.lang.Object
implements java.util.Iterator
Constructor and Description |
---|
MMAffine2DPolygon.VertexIterator(Affine2DPoint[] vertices)
Makes the iterator iterate over the given vertices.
|
MMAffine2DPolygon.VertexIterator(Affine2DPoint[] vertices,
int startIndex)
Makes the iterator iterate over the given vertices starting with the given index.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.lang.Object |
next() |
Affine2DPoint |
nextPoint()
Returns the next point.
|
void |
remove() |
public MMAffine2DPolygon.VertexIterator(Affine2DPoint[] vertices, int startIndex)
public MMAffine2DPolygon.VertexIterator(Affine2DPoint[] vertices)
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public Affine2DPoint nextPoint()
public void remove()
remove
in interface java.util.Iterator
Further documentation and examples can be found under www.mathletfactory.de.