org.jaitools.imageutils.shape
Class PointIterator
java.lang.Object
org.jaitools.imageutils.shape.AbstractLiteIterator
org.jaitools.imageutils.shape.PointIterator
- All Implemented Interfaces:
- PathIterator
public final class PointIterator
- extends AbstractLiteIterator
A path iterator for the LiteShape class, specialized to iterate over Point objects.
This class was ported back and simplified from GeoTools, with permission from the author(s)
- Author:
- Andrea Aime
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointIterator
public PointIterator(com.vividsolutions.jts.geom.Point point,
AffineTransform at)
- Creates a new PointIterator object.
- Parameters:
point - The pointat - The affine transform applied to coordinates during iteration
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 © 2009-2015. All Rights Reserved.