org.geotools.renderer.lite
Class PointIterator

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

public class PointIterator
extends AbstractLiteIterator

A path iterator for the LiteShape class, specialized to iterate over Point objects.

Author:
Andrea Aime

Field Summary
 
Fields inherited from class org.geotools.renderer.lite.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
PointIterator(com.vividsolutions.jts.geom.Point point, java.awt.geom.AffineTransform at)
          Creates a new PointIterator object.
 
Method Summary
 int currentSegment(double[] coords)
           
 int getWindingRule()
          Return the winding rule for determining the interior of the path.
 boolean isDone()
           
 void next()
           
 
Methods inherited from class org.geotools.renderer.lite.AbstractLiteIterator
currentSegment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointIterator

public PointIterator(com.vividsolutions.jts.geom.Point point,
                     java.awt.geom.AffineTransform at)
Creates a new PointIterator object.

Parameters:
at - The affine transform applied to coordinates during iteration
Method Detail

getWindingRule

public int getWindingRule()
Return the winding rule for determining the interior of the path.

Returns:
WIND_EVEN_ODD by default.

next

public void next()
See Also:
PathIterator.next()

isDone

public boolean isDone()
See Also:
PathIterator.isDone()

currentSegment

public int currentSegment(double[] coords)
See Also:
PathIterator.currentSegment(double[])


Copyright © GeoTools. All Rights Reserved.