Package org.geotools.geometry.jts
Class EmptyIterator
- Object
-
- AbstractLiteIterator
-
- EmptyIterator
-
- All Implemented Interfaces:
PathIterator
public class EmptyIterator extends AbstractLiteIterator
An iterator for empty geometries- Since:
- 2.4
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyIterator
INSTANCE
-
Fields inherited from class AbstractLiteIterator
dcoords
-
Fields inherited from interface PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
-
-
Constructor Summary
Constructors Constructor Description EmptyIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
currentSegment(double[] coords)
int
currentSegment(float[] coords)
int
getWindingRule()
boolean
isDone()
void
next()
-
-
-
Field Detail
-
INSTANCE
public static final EmptyIterator INSTANCE
-
-
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 interfacePathIterator
- Overrides:
currentSegment
in classAbstractLiteIterator
- See Also:
PathIterator.currentSegment(float[])
-
-