org.jaitools.imageutils.shape
Class EmptyIterator

java.lang.Object
  extended by org.jaitools.imageutils.shape.AbstractLiteIterator
      extended by org.jaitools.imageutils.shape.EmptyIterator
All Implemented Interfaces:
PathIterator

public class EmptyIterator
extends AbstractLiteIterator

An iterator for empty geometries. This class was ported back and simplified from GeoTools, with permission from the author(s)


Field Summary
static EmptyIterator INSTANCE
           
 
Fields inherited from class org.jaitools.imageutils.shape.AbstractLiteIterator
dcoords
 
Fields inherited from interface java.awt.geom.PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
 
Constructor Summary
EmptyIterator()
           
 
Method Summary
 int currentSegment(double[] coords)
           
 int currentSegment(float[] coords)
           
 int getWindingRule()
           
 boolean isDone()
           
 void next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final EmptyIterator INSTANCE
Constructor Detail

EmptyIterator

public EmptyIterator()
Method Detail

getWindingRule

public int getWindingRule()

isDone

public boolean isDone()

next

public void next()

currentSegment

public int currentSegment(double[] coords)

currentSegment

public int currentSegment(float[] coords)
Specified by:
currentSegment in interface PathIterator
Overrides:
currentSegment in class AbstractLiteIterator
See Also:
PathIterator.currentSegment(float[])


Copyright © 2009-2013. All Rights Reserved.