org.geotools.renderer.lite
Class AbstractLiteIterator

java.lang.Object
  extended byorg.geotools.renderer.lite.AbstractLiteIterator
All Implemented Interfaces:
java.awt.geom.PathIterator
Direct Known Subclasses:
PointIterator

public abstract class AbstractLiteIterator
extends java.lang.Object
implements java.awt.geom.PathIterator

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
protected  double[] 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
AbstractLiteIterator()
           
 
Method Summary
 int currentSegment(float[] coords)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.geom.PathIterator
currentSegment, getWindingRule, isDone, next
 

Field Detail

dcoords

protected double[] dcoords
Constructor Detail

AbstractLiteIterator

public AbstractLiteIterator()
Method Detail

currentSegment

public int currentSegment(float[] coords)
Specified by:
currentSegment in interface java.awt.geom.PathIterator
See Also:
PathIterator.currentSegment(float[])


Copyright © GeoTools. All Rights Reserved.