Package org.geotools.geometry.jts
Class AbstractLiteIterator
Object
AbstractLiteIterator
- All Implemented Interfaces:
PathIterator
- Direct Known Subclasses:
EmptyIterator
,GeomCollectionIterator
,LineIterator
,PackedLineIterator
,PointIterator
,PolygonIterator
Subclass that provides a convenient efficient currentSegment(float[] coords) implementation that reuses always the
same double array. This class and the associated subclasses are not thread safe.
- Author:
- Andrea Aime
-
Field Summary
FieldsFields inherited from interface PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface PathIterator
currentSegment, getWindingRule, isDone, next
-
Field Details
-
dcoords
protected double[] dcoords
-
-
Constructor Details
-
AbstractLiteIterator
public AbstractLiteIterator()
-
-
Method Details
-
currentSegment
public int currentSegment(float[] coords) - Specified by:
currentSegment
in interfacePathIterator
- See Also:
-