Package org.geotools.geometry.jts
Class PointIterator
Object
AbstractLiteIterator
PointIterator
- All Implemented Interfaces:
PathIterator
A path iterator for the LiteShape class, specialized to iterate over Point objects.
- Author:
- Andrea Aime
-
Field Summary
Fields inherited from class AbstractLiteIterator
dcoordsFields inherited from interface PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO -
Constructor Summary
ConstructorsConstructorDescriptionPointIterator(Point point, AffineTransform at) Creates a new PointIterator object. -
Method Summary
Modifier and TypeMethodDescriptionintcurrentSegment(double[] coords) intReturn the winding rule for determining the interior of the path.booleanisDone()voidnext()Methods inherited from class AbstractLiteIterator
currentSegment
-
Constructor Details
-
PointIterator
Creates a new PointIterator object.- Parameters:
point- The pointat- The affine transform applied to coordinates during iteration
-
-
Method Details
-
getWindingRule
public int getWindingRule()Return the winding rule for determining the interior of the path.- Returns:
WIND_EVEN_ODDby default.
-
next
public void next()- See Also:
-
isDone
public boolean isDone()- See Also:
-
currentSegment
public int currentSegment(double[] coords) - See Also:
-